summaryrefslogtreecommitdiff
path: root/op_crates
diff options
context:
space:
mode:
Diffstat (limited to 'op_crates')
-rw-r--r--op_crates/url/benches/url_ops.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/op_crates/url/benches/url_ops.rs b/op_crates/url/benches/url_ops.rs
index 37efb0a33..7d5d32879 100644
--- a/op_crates/url/benches/url_ops.rs
+++ b/op_crates/url/benches/url_ops.rs
@@ -15,6 +15,7 @@ fn create_js_runtime() -> JsRuntime {
"op_url_stringify_search_params",
op_sync(deno_url::op_url_stringify_search_params),
);
+ runtime.sync_ops_cache();
runtime
.execute(
@@ -24,14 +25,6 @@ fn create_js_runtime() -> JsRuntime {
.unwrap();
deno_url::init(&mut runtime);
runtime
- .execute(
- "init",
- r#"
- Deno.core.ops();
- "#,
- )
- .unwrap();
- runtime
.execute("setup", "const { URL } = globalThis.__bootstrap.url;")
.unwrap();