From dccf5e0c5c7f04409809104dd23472bcc058e170 Mon Sep 17 00:00:00 2001 From: Inteon <42113979+inteon@users.noreply.github.com> Date: Tue, 23 Feb 2021 13:08:50 +0100 Subject: 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. --- cli/bench/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cli/bench') 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 @@ -67,6 +67,15 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option)] = &[ ], None, ), + ( + "workers_large_message", + &[ + "run", + "--allow-read", + "cli/tests/workers_large_message_bench.ts", + ], + None, + ), ( "text_decoder", &["run", "cli/tests/text_decoder_perf.js"], -- cgit v1.2.3