mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -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.
28 lines
643 B
Text
28 lines
643 B
Text
Check [WILDCARD]/bench/fail.ts
|
|
cpu: [WILDCARD]
|
|
runtime: deno [WILDCARD] ([WILDCARD])
|
|
|
|
[WILDCARD]/bench/fail.ts
|
|
benchmark time (avg) (min … max) p75 p99 p995
|
|
------------------------------------------------- -----------------------------
|
|
bench0 error: Error
|
|
[WILDCARD]
|
|
bench1 error: Error
|
|
[WILDCARD]
|
|
bench2 error: Error
|
|
[WILDCARD]
|
|
bench3 error: Error
|
|
[WILDCARD]
|
|
bench4 error: Error
|
|
[WILDCARD]
|
|
bench5 error: Error
|
|
[WILDCARD]
|
|
bench6 error: Error
|
|
[WILDCARD]
|
|
bench7 error: Error
|
|
[WILDCARD]
|
|
bench8 error: Error
|
|
[WILDCARD]
|
|
bench9 error: Error
|
|
[WILDCARD]
|
|
error: Bench failed
|