summaryrefslogtreecommitdiff
path: root/ext/url/benches
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-03-18 18:44:28 +0530
committerGitHub <noreply@github.com>2023-03-18 13:14:28 +0000
commit8af0c8351935ea7c6c0441055d5164908322c9d6 (patch)
treea61be71ff9ac5379f8e992927bd096c3e6a0ad8f /ext/url/benches
parent5223f3d9b68921179db8cd6b00babd711d4f06ff (diff)
perf(core): use static specifier in ExtensionFileSource (#18264)
Closes #18085 --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'ext/url/benches')
-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;