mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -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.
7 lines
273 B
Text
7 lines
273 B
Text
Check [WILDCARD]/bench/unhandled_rejection.ts
|
|
error: Uncaught (in promise) Error: rejection
|
|
reject(new Error("rejection"));
|
|
^
|
|
at [WILDCARD]/bench/unhandled_rejection.ts:2:10
|
|
at new Promise (<anonymous>)
|
|
at [WILDCARD]/bench/unhandled_rejection.ts:1:1
|