summaryrefslogtreecommitdiff
path: root/ext/webidl/benches/dict.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/webidl/benches/dict.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/webidl/benches/dict.rs')
-rw-r--r--ext/webidl/benches/dict.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webidl/benches/dict.rs b/ext/webidl/benches/dict.rs
index 89a83ddaa..d08adbb6a 100644
--- a/ext/webidl/benches/dict.rs
+++ b/ext/webidl/benches/dict.rs
@@ -14,7 +14,7 @@ fn setup() -> Vec<Extension> {
deno_webidl::deno_webidl::init_ops_and_esm(),
Extension::builder("deno_webidl_bench")
.esm(vec![ExtensionFileSource {
- specifier: "ext:setup".to_string(),
+ specifier: "ext:deno_webidl_bench/setup.js",
code: ExtensionFileSourceCode::IncludedInBinary(include_str!(
"dict.js"
)),