mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
feat(bench): Add JSON reporter for "deno bench" subcommand (#17595)
This commit is contained in:
parent
5a83af4837
commit
fc843d035c
3 changed files with 101 additions and 4 deletions
|
@ -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,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue