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 authored and GitHub committed 2022-03-15 14:21:16 +00:00
1 parent 814ad34a4c
commit 1c1c1f4566
6 files changed
+93 -30

No files matched your search

@@ -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>,