summaryrefslogtreecommitdiff
path: root/cli/diagnostics.rs
diff options
context:
space:
mode:
authorevan <github@evan.lol>2022-04-20 22:06:39 +0300
committerGitHub <noreply@github.com>2022-04-20 21:06:39 +0200
commitf785ecee1a68faac517a6d35763dd26ef033d722 (patch)
treeae0bca3d8cf79088b42b0b8d9a9a5efbe89a27b0 /cli/diagnostics.rs
parent2612b6f20fc21fb92402aa9086d13a7192ae3814 (diff)
feat(bench): update API, new console reporter (#14305)
This commit changes "deno bench" subcommand, by updating the "Deno.bench" API as follows: - remove "Deno.BenchDefinition.n" - remove "Deno.BenchDefintion.warmup" - add "Deno.BenchDefinition.group" - add "Deno.BenchDefintion.baseline" This is done because bench cases are no longer run fixed amount of iterations, but instead they are run until there is difference between subsequent runs that is statistically insiginificant. Additionally, console reporter was rewritten completely, to looks similar to "hyperfine" reporter.
Diffstat (limited to 'cli/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions