summaryrefslogtreecommitdiff
path: root/bench_util/benches
diff options
context:
space:
mode:
Diffstat (limited to 'bench_util/benches')
-rw-r--r--bench_util/benches/op_baseline.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bench_util/benches/op_baseline.rs b/bench_util/benches/op_baseline.rs
index 46501e4f7..317be7982 100644
--- a/bench_util/benches/op_baseline.rs
+++ b/bench_util/benches/op_baseline.rs
@@ -30,15 +30,15 @@ async fn op_pi_async() -> i64 {
}
fn bench_op_pi_json(b: &mut Bencher) {
- bench_js_sync(b, r#"Deno.core.opSync("op_pi_json", null);"#, setup);
+ bench_js_sync(b, r#"Deno.core.ops.op_pi_json();"#, setup);
}
fn bench_op_nop(b: &mut Bencher) {
- bench_js_sync(b, r#"Deno.core.opSync("op_nop", null, null, null);"#, setup);
+ bench_js_sync(b, r#"Deno.core.ops.op_nop();"#, setup);
}
fn bench_op_async(b: &mut Bencher) {
- bench_js_async(b, r#"Deno.core.opAsync("op_pi_async", null);"#, setup);
+ bench_js_async(b, r#"Deno.core.opAsync("op_pi_async");"#, setup);
}
fn bench_is_proxy(b: &mut Bencher) {