summaryrefslogtreecommitdiff
path: root/cli/bench/async_ops.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/async_ops.js')
-rw-r--r--cli/bench/async_ops.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/bench/async_ops.js b/cli/bench/async_ops.js
index fe041efe8..fc04942be 100644
--- a/cli/bench/async_ops.js
+++ b/cli/bench/async_ops.js
@@ -16,5 +16,5 @@ async function bench(fun) {
if (--total) queueMicrotask(() => bench(fun));
}
-const { ops } = Deno[Deno.internal].core;
-bench(() => ops.op_void_async());
+const core = Deno[Deno.internal].core;
+bench(() => core.opAsync("op_void_async"));