diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-18 16:09:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 20:09:13 +0000 |
commit | d33369c6c737718e02d61ae1b3a3231896d5a9b1 (patch) | |
tree | 10c55cce5e347293cb644e086fdd57aa33e8427b /ext/web/benches/timers_ops.rs | |
parent | 4c1f3daa837932ec149b445468b95505f4775ef3 (diff) |
perf(core): use static specifier in ExtensionFileSource (#18271)
Relanding #18264
-------
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'ext/web/benches/timers_ops.rs')
-rw-r--r-- | ext/web/benches/timers_ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/benches/timers_ops.rs b/ext/web/benches/timers_ops.rs index 372a317c9..62adaf3e3 100644 --- a/ext/web/benches/timers_ops.rs +++ b/ext/web/benches/timers_ops.rs @@ -29,7 +29,7 @@ fn setup() -> Vec<Extension> { Extension::builder("bench_setup") .esm(vec![ ExtensionFileSource { - specifier: "ext:setup".to_string(), + specifier: "ext:bench_setup/setup", code: ExtensionFileSourceCode::IncludedInBinary(r#" import { setTimeout, handleTimerMacrotask } from "ext:deno_web/02_timers.js"; globalThis.setTimeout = setTimeout; |