mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -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:
parent
6cb5d8eb86
commit
8706a20d1f
1 changed files with 1 additions and 8 deletions
|
@ -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()]
|
||||
|
|
Loading…
Reference in a new issue