diff options
author | Aapo Alasuutari <aapo.alasuutari@gmail.com> | 2022-09-22 07:35:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 10:05:24 +0530 |
commit | 707e9e35804d9295996c5e86663209f14965d8f0 (patch) | |
tree | ff00d2e8bd51f17f9ac31a4d28aafd3aa7d7f539 /cli/bench/deno_common.js | |
parent | cc32a297da2d92983573a1cea1ca669d6139d77d (diff) |
feat(ops): Automatic fast ops creation (#15527)
Diffstat (limited to 'cli/bench/deno_common.js')
-rw-r--r-- | cli/bench/deno_common.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/bench/deno_common.js b/cli/bench/deno_common.js index d9879194f..0ce055912 100644 --- a/cli/bench/deno_common.js +++ b/cli/bench/deno_common.js @@ -11,7 +11,7 @@ Deno.bench("date_now", { n: 5e5 }, () => { const { op_add } = Deno.core.ops; // deno-lint-ignore no-inner-declarations function add(a, b) { - return op_add.fast(a, b); + return op_add(a, b); } // deno-lint-ignore no-inner-declarations function addJS(a, b) { @@ -24,7 +24,7 @@ Deno.bench("date_now", { n: 5e5 }, () => { // deno-lint-ignore camelcase const { op_void_sync } = Deno.core.ops; function sync() { - return op_void_sync.fast(); + return op_void_sync(); } sync(); // Warmup |