diff options
author | Inteon <42113979+inteon@users.noreply.github.com> | 2021-02-23 13:08:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 13:08:50 +0100 |
commit | dccf5e0c5c7f04409809104dd23472bcc058e170 (patch) | |
tree | 23bad9b434c45fd08315abef66f1fe16add14a44 /cli/bench/main.rs | |
parent | 2e24af23002b6d77543861bf9b2a6027e0357a93 (diff) |
refactor(core): Allow multiple overflown responses in single poll (#9433)
This commit rewrites "JsRuntime::poll" function to fix a corner case that
might caused "overflown_response" to be overwritten by other overflown response.
The logic has been changed to allow returning multiple overflown response
alongside responses from shared queue.
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r-- | cli/bench/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs index b69bbc7ac..c6f786e31 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -68,6 +68,15 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[ None, ), ( + "workers_large_message", + &[ + "run", + "--allow-read", + "cli/tests/workers_large_message_bench.ts", + ], + None, + ), + ( "text_decoder", &["run", "cli/tests/text_decoder_perf.js"], None, |