summaryrefslogtreecommitdiff
path: root/core/benches/op_baseline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/benches/op_baseline.rs')
-rw-r--r--core/benches/op_baseline.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/benches/op_baseline.rs b/core/benches/op_baseline.rs
index a7f3bda1d..c0c988eb6 100644
--- a/core/benches/op_baseline.rs
+++ b/core/benches/op_baseline.rs
@@ -20,16 +20,7 @@ fn create_js_runtime() -> JsRuntime {
runtime.register_op("nop", |state, _, _| {
Op::Sync(serialize_op_result(Ok(9), state))
});
-
- // Init ops
- runtime
- .execute(
- "init",
- r#"
- Deno.core.ops();
- "#,
- )
- .unwrap();
+ runtime.sync_ops_cache();
runtime
}