Additional benchmark-storage flags (#11004)

* Fix typos

* Enable overwriting handlebars template

* Optionally name json output or disable json altogether

* Don't write to json by default

* Include block id in handlebars output

* Include warmups for write benchmarks

* PR comments

* Drop unnecessary file extension

* Use more appropriate types

* Use more appropriate error message

* More use of more appropriate types

* Rework write benchmark warmups

* Run same benchmark for both read and write
This commit is contained in:
Daan Schutte
2022-03-15 17:21:16 +03:00
committed by GitHub
parent 814ad34a4c
commit 1c1c1f4566
6 changed files with 93 additions and 30 deletions
@@ -67,7 +67,7 @@ pub struct BenchmarkCmd {
#[clap(long = "json")]
pub json_output: bool,
/// Write the raw results in JSON format into the give file.
/// Write the raw results in JSON format into the given file.
#[clap(long, conflicts_with = "json-output")]
pub json_file: Option<PathBuf>,