From a7558196a7c01bd273b05a3e2180f0f219de81b4 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Tue, 30 Aug 2022 14:31:36 +0530 Subject: perf: use fast api for `core.isProxy` (#15682) --- bench_util/benches/op_baseline.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'bench_util/benches/op_baseline.rs') diff --git a/bench_util/benches/op_baseline.rs b/bench_util/benches/op_baseline.rs index 317be7982..14d04f60d 100644 --- a/bench_util/benches/op_baseline.rs +++ b/bench_util/benches/op_baseline.rs @@ -41,16 +41,6 @@ fn bench_op_async(b: &mut Bencher) { bench_js_async(b, r#"Deno.core.opAsync("op_pi_async");"#, setup); } -fn bench_is_proxy(b: &mut Bencher) { - bench_js_sync(b, r#"Deno.core.isProxy(42);"#, setup); -} - -benchmark_group!( - benches, - bench_op_pi_json, - bench_op_nop, - bench_op_async, - bench_is_proxy -); +benchmark_group!(benches, bench_op_pi_json, bench_op_nop, bench_op_async,); bench_or_profile!(benches); -- cgit v1.2.3