From b4faf609484726d827b43140b4ce2bc8e58163df Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Tue, 17 Sep 2024 22:57:37 +0530 Subject: [PATCH] perf: fast path for cached dyn imports (#25636) Ref https://github.com/denoland/deno_core/pull/906 --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- tests/wpt/runner/expectation.json | 6 ++---- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b35269daa2..8b2d4fb80c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1405,9 +1405,9 @@ dependencies = [ [[package]] name = "deno_core" -version = "0.309.0" +version = "0.310.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaecc78e8903d1b5d95c7fb01a14eb342b9e63484763a304fd30a8f48861f9df" +checksum = "40269d9035d16ea83335f87eab8014c6e73c5045a1f32a3cfae835b3efdd76b1" dependencies = [ "anyhow", "bincode", @@ -1887,9 +1887,9 @@ dependencies = [ [[package]] name = "deno_ops" -version = "0.185.0" +version = "0.186.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d817c00b3f30bef495c84080b5ed327ed68d6d2636b5ed8b730d00a06221dc1" +checksum = "ba0c37f722813b9a9016f9d442e37bce0e30b97111a1690e70bab1057c03651d" dependencies = [ "proc-macro-rules", "proc-macro2", @@ -6257,9 +6257,9 @@ dependencies = [ [[package]] name = "serde_v8" -version = "0.218.0" +version = "0.219.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134add6f9dc7a226912468f7c427a476583ab362e094f04ff3a9fa79f2df97c7" +checksum = "0b4de773ce668166fe0a77291cf90a7740be7997c954103c8125892597c0e98b" dependencies = [ "num-bigint", "serde", diff --git a/Cargo.toml b/Cargo.toml index 5cf29fadc3..2794d0a785 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ repository = "https://github.com/denoland/deno" [workspace.dependencies] deno_ast = { version = "=0.42.0", features = ["transpiling"] } -deno_core = { version = "0.309.0" } +deno_core = { version = "0.310.0" } deno_bench_util = { version = "0.162.0", path = "./bench_util" } deno_lockfile = "=0.23.1" diff --git a/tests/wpt/runner/expectation.json b/tests/wpt/runner/expectation.json index ef22d1dd79..642dbc8af3 100644 --- a/tests/wpt/runner/expectation.json +++ b/tests/wpt/runner/expectation.json @@ -10382,12 +10382,10 @@ "blob-url-workers.window.html": [], "microtasks": { "basic.any.html": [ - "import() should not drain the microtask queue if it fails during specifier resolution", - "import() should not drain the microtask queue when loading an already loaded module" + "import() should not drain the microtask queue if it fails during specifier resolution" ], "basic.any.worker.html": [ - "import() should not drain the microtask queue if it fails during specifier resolution", - "import() should not drain the microtask queue when loading an already loaded module" + "import() should not drain the microtask queue if it fails during specifier resolution" ], "css-import-in-worker.any.worker.html": true, "with-import-assertions.any.html": true,