mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -05:00
36ae37604a
This commit adds "iter/s" column to the console report generated by "deno bench" subcommand.
25 lines
1.2 KiB
Text
25 lines
1.2 KiB
Text
cpu: [WILDCARD]
|
|
runtime: deno [WILDCARD] ([WILDCARD])
|
|
|
|
[WILDCARD]/explicit_start_and_end.ts
|
|
benchmark time (avg) iter/s (min … max) p75 p99 p995
|
|
------------------------------------------------------------------- -----------------------------
|
|
start and end [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
|
start only [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
|
end only [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD]
|
|
double start error: TypeError: BenchContext::start() has already been invoked.
|
|
t.start();
|
|
^
|
|
at BenchContext.start ([WILDCARD])
|
|
at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD]
|
|
double end error: TypeError: BenchContext::end() has already been invoked.
|
|
t.end();
|
|
^
|
|
at BenchContext.end ([WILDCARD])
|
|
at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD]
|
|
captured error: TypeError: The benchmark which this context belongs to is not being executed.
|
|
captured!.start();
|
|
^
|
|
at BenchContext.start ([WILDCARD])
|
|
at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD]
|
|
error: Bench failed
|