bheisler / criterion.rs

Statistics-driven benchmarking library for Rust
Apache License 2.0
4.52k stars 301 forks source link

Criterion hangs the process because for some reason the server socket can’t detect that client has closed connection #726

Open softstream-link opened 1 year ago

softstream-link commented 1 year ago

This only happens on Linux but works fine on Darwin and when criterion is used to do clt.read , however when a standard for loop is used all works fine

let _ = clt2svc_without_criterion();
let _ = clt2svc_with_criterion();

Full Example