diff options
author | Serhiy Barhamon <sergey@bargamon.ru> | 2023-02-12 19:40:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 17:40:45 +0000 |
commit | fc843d035c0cb4936d9b87670e282667a9a8b265 (patch) | |
tree | c17daf4a38a78342bcf458dfad186768a72c82b1 /cli/args/mod.rs | |
parent | 5a83af4837c016d89378f9fa982141b34ff30a23 (diff) |
feat(bench): Add JSON reporter for "deno bench" subcommand (#17595)
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 95dfa4535..da36c7071 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -105,6 +105,7 @@ impl CacheSetting { pub struct BenchOptions { pub files: FilesConfig, pub filter: Option<String>, + pub json: bool, } impl BenchOptions { @@ -119,6 +120,7 @@ impl BenchOptions { Some(bench_flags.files), ), filter: bench_flags.filter, + json: bench_flags.json, }) } } |