summaryrefslogtreecommitdiff
path: root/ext/url/benches/url_ops.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-18 16:09:13 -0400
committerGitHub <noreply@github.com>2023-03-18 20:09:13 +0000
commitd33369c6c737718e02d61ae1b3a3231896d5a9b1 (patch)
tree10c55cce5e347293cb644e086fdd57aa33e8427b /ext/url/benches/url_ops.rs
parent4c1f3daa837932ec149b445468b95505f4775ef3 (diff)
perf(core): use static specifier in ExtensionFileSource (#18271)
Relanding #18264 ------- Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'ext/url/benches/url_ops.rs')
-rw-r--r--ext/url/benches/url_ops.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/url/benches/url_ops.rs b/ext/url/benches/url_ops.rs
index 4096a6a92..2e5666552 100644
--- a/ext/url/benches/url_ops.rs
+++ b/ext/url/benches/url_ops.rs
@@ -15,7 +15,7 @@ fn setup() -> Vec<Extension> {
deno_url::deno_url::init_ops_and_esm(),
Extension::builder("bench_setup")
.esm(vec![ExtensionFileSource {
- specifier: "ext:setup".to_string(),
+ specifier: "ext:bench_setup/setup",
code: ExtensionFileSourceCode::IncludedInBinary(
r#"import { URL } from "ext:deno_url/00_url.js";
globalThis.URL = URL;