I found that in very simple senario, like getting a path param and echoing it as text, the higher setting event_interval of tokio runtime, the lower the performance be.
So this PR tries setting it to the minimum value, 1, in benches_rt/tokio/src/bin/param ( default: 61 ).
I found that in very simple senario, like getting a path param and echoing it as text, the higher setting
event_interval
of tokio runtime, the lower the performance be. So this PR tries setting it to the minimum value, 1, inbenches_rt/tokio/src/bin/param
( default: 61 ).ref: https://docs.rs/tokio/1.39.3/tokio/runtime/struct.Builder.html#method.event_interval
benchmark examples
default (
#[tokio::main] async fn main()
)set
event_interval
to 1 (.event_interval(1)
)