summaryrefslogtreecommitdiff
path: root/bench_util
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-10-08 20:43:14 +0200
committerGitHub <noreply@github.com>2023-10-08 18:43:14 +0000
commit8706a20d1f62b3fa5293d31e622452ab26dbfd4b (patch)
tree36fa0941c8549f4c190d829d794e6dbcba190881 /bench_util
parent6cb5d8eb86fe205ad4f4411e20c206246ff25682 (diff)
bench: fix ops benchmarks (#20830)
https://github.com/denoland/deno/pull/20808 broke benchmarks, this commit should fix it.
Diffstat (limited to 'bench_util')
-rw-r--r--bench_util/benches/op_baseline.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/bench_util/benches/op_baseline.rs b/bench_util/benches/op_baseline.rs
index c2481d0dd..53e8673df 100644
--- a/bench_util/benches/op_baseline.rs
+++ b/bench_util/benches/op_baseline.rs
@@ -9,14 +9,7 @@ use deno_bench_util::bencher::Bencher;
use deno_core::op2;
use deno_core::Extension;
-deno_core::extension!(
- bench_setup,
- ops = [
- // op_pi_json,
- op_pi_async,
- op_nop
- ]
-);
+deno_core::extension!(bench_setup, ops = [op_pi_json, op_pi_async, op_nop]);
fn setup() -> Vec<Extension> {
vec![bench_setup::init_ops()]