1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

bench: fix ops benchmarks (#20830)

https://github.com/denoland/deno/pull/20808 broke benchmarks, this
commit should fix it.
This commit is contained in:
Bartek Iwańczuk 2023-10-08 20:43:14 +02:00 committed by GitHub
parent 6cb5d8eb86
commit 8706a20d1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()]