diff options
Diffstat (limited to 'cli/bench/async_ops_deferred.js')
-rw-r--r-- | cli/bench/async_ops_deferred.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/bench/async_ops_deferred.js b/cli/bench/async_ops_deferred.js index 7a816cf95..2751ad226 100644 --- a/cli/bench/async_ops_deferred.js +++ b/cli/bench/async_ops_deferred.js @@ -17,4 +17,6 @@ async function bench(fun) { } const core = Deno[Deno.internal].core; -bench(() => core.opAsync("op_void_async_deferred")); +const ops = core.ops; +const opVoidAsyncDeferred = ops.op_void_async_deferred; +bench(() => opVoidAsyncDeferred()); |