mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 03:48:02 -05:00
f785ecee1a
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.
14 lines
574 B
Text
14 lines
574 B
Text
Check [WILDCARD]/bench/exit_sanitizer.ts
|
|
cpu: [WILDCARD]
|
|
runtime: deno [WILDCARD] ([WILDCARD])
|
|
|
|
[WILDCARD]/bench/exit_sanitizer.ts
|
|
benchmark time (avg) (min … max) p75 p99 p995
|
|
------------------------------------------------- -----------------------------
|
|
exit(0) error: AssertionError: Bench attempted to exit with exit code: 0
|
|
[WILDCARD]
|
|
exit(1) error: AssertionError: Bench attempted to exit with exit code: 1
|
|
[WILDCARD]
|
|
exit(2) error: AssertionError: Bench attempted to exit with exit code: 2
|
|
[WILDCARD]
|
|
error: Bench failed
|