diff options
| author | Kamen Mladenov <kamen@syndamia.com> | 2025-02-10 10:20:53 +0200 |
|---|---|---|
| committer | Kamen Mladenov <kamen@syndamia.com> | 2025-02-10 10:20:53 +0200 |
| commit | bc92441157bbcea095d1fb2bbfc8ecf19c1b1346 (patch) | |
| tree | cce6cdf3e06d0f0546bb0122f8cb8777b955f47b /zkvms_host_io/src | |
| parent | c962c7f002d931011193d2f7f2ffdf5c49763fdd (diff) | |
| download | zkVMs-benchmarks-bc92441157bbcea095d1fb2bbfc8ecf19c1b1346.tar zkVMs-benchmarks-bc92441157bbcea095d1fb2bbfc8ecf19c1b1346.tar.gz zkVMs-benchmarks-bc92441157bbcea095d1fb2bbfc8ecf19c1b1346.zip | |
feat(zkvms_host_io): More standard CSV metrics output format and milliseconds flag
Diffstat (limited to 'zkvms_host_io/src')
| -rw-r--r-- | zkvms_host_io/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zkvms_host_io/src/lib.rs b/zkvms_host_io/src/lib.rs index 46c4740..fbdd8f9 100644 --- a/zkvms_host_io/src/lib.rs +++ b/zkvms_host_io/src/lib.rs @@ -26,6 +26,9 @@ struct Cli { repeat: Option<usize>, #[arg(short, long, requires = "benchmark")] + millis: bool, + + #[arg(short, long, requires = "benchmark")] metrics_output: Option<String>, } @@ -41,6 +44,7 @@ pub struct RunWith { pub run_type: RunType, pub benchmarking: bool, pub repeats: usize, + pub millis: bool, pub output_file: Option<String>, pub input: Input, @@ -92,6 +96,7 @@ pub fn read_args() -> RunWith { run_type: cli.run_type, benchmarking: cli.benchmark, repeats: cli.repeat.unwrap_or(1), + millis: cli.millis, output_file: cli.metrics_output, input, |
