From cec988bfc5a83af4065aa4409729ea43effffc8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 9 May 2023 22:53:37 +0200 Subject: [PATCH] bench: fix benchmarks with extensions (#19059) They broke in f34fcd16ea4d504c8a87c0873c65598d70bb1d07 --- ext/url/benches/url_ops.rs | 1 + ext/web/benches/encoding.rs | 1 + ext/web/benches/timers_ops.rs | 1 + ext/webidl/benches/dict.rs | 1 + 4 files changed, 4 insertions(+) diff --git a/ext/url/benches/url_ops.rs b/ext/url/benches/url_ops.rs index 2e56665521..835dfea2ec 100644 --- a/ext/url/benches/url_ops.rs +++ b/ext/url/benches/url_ops.rs @@ -22,6 +22,7 @@ fn setup() -> Vec { "#, ), }]) + .esm_entry_point("ext:bench_setup/setup") .build(), ] } diff --git a/ext/web/benches/encoding.rs b/ext/web/benches/encoding.rs index 74dd430fc0..5b147f00c8 100644 --- a/ext/web/benches/encoding.rs +++ b/ext/web/benches/encoding.rs @@ -45,6 +45,7 @@ fn setup() -> Vec { .state(|state| { state.put(Permissions {}); }) + .esm_entry_point("ext:bench_setup/setup") .build(), ] } diff --git a/ext/web/benches/timers_ops.rs b/ext/web/benches/timers_ops.rs index 62adaf3e37..084fac98ba 100644 --- a/ext/web/benches/timers_ops.rs +++ b/ext/web/benches/timers_ops.rs @@ -40,6 +40,7 @@ fn setup() -> Vec { .state(|state| { state.put(Permissions{}); }) + .esm_entry_point("ext:bench_setup/setup") .build() ] } diff --git a/ext/webidl/benches/dict.rs b/ext/webidl/benches/dict.rs index d08adbb6a8..b3d95c8a32 100644 --- a/ext/webidl/benches/dict.rs +++ b/ext/webidl/benches/dict.rs @@ -19,6 +19,7 @@ fn setup() -> Vec { "dict.js" )), }]) + .esm_entry_point("ext:deno_webidl_bench/setup.js") .build(), ] }