diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-08-30 14:31:36 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-30 14:31:36 +0530 |
| commit | a7558196a7c01bd273b05a3e2180f0f219de81b4 (patch) | |
| tree | 074ce570501331f2d66a8d7d835583ee8064f0cf /bench_util/benches | |
| parent | 448654764f9c403b2e0d93f6d8dd4044733977ce (diff) | |
perf: use fast api for `core.isProxy` (#15682)
Diffstat (limited to 'bench_util/benches')
| -rw-r--r-- | bench_util/benches/op_baseline.rs | 12 |
1 files changed, 1 insertions, 11 deletions
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); |
