diff options
Diffstat (limited to 'core/http_bench.rs')
-rw-r--r-- | core/http_bench.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/http_bench.rs b/core/http_bench.rs index cbb4bdea4..8b6a8e8fc 100644 --- a/core/http_bench.rs +++ b/core/http_bench.rs @@ -102,17 +102,12 @@ impl Behavior for HttpBench { fn startup_data(&mut self) -> Option<StartupData> { let js_source = include_str!("http_bench.js"); - Some(StartupData::Script(StartupScript { + Some(StartupData::Script(Script { source: js_source.to_string(), filename: "http_bench.js".to_string(), })) } - fn resolve(&mut self, _specifier: &str, _referrer: deno_mod) -> deno_mod { - // HttpBench doesn't do ES modules. - unimplemented!() - } - fn dispatch( &mut self, control: &[u8], |