mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
bench: fix benchmark (#22279)
Missed in https://github.com/denoland/deno/pull/22277
This commit is contained in:
parent
838f7c257f
commit
1fd4b46dd0
1 changed files with 0 additions and 3 deletions
|
@ -10,9 +10,6 @@ function addJS(a, b) {
|
|||
}
|
||||
Deno.bench("add_js", () => addJS(1, 2));
|
||||
|
||||
// Void ops measure op-overhead
|
||||
Deno.bench("op_void_sync", () => op_void_sync());
|
||||
|
||||
// A very lightweight op, that should be highly optimizable
|
||||
Deno.bench("perf_now", { n: 5e5 }, () => {
|
||||
performance.now();
|
||||
|
|
Loading…
Reference in a new issue