3 ms·
On Reddit [1], Alex mentioned that the single-thread case was not optimized (yet). What do the numbers for multi-threading look like? [1]: http://reddit.com/r/
by killercup 10y ago
On Reddit [1], Alex mentioned that the single-thread case was not optimized (yet). What do the numbers for multi-threading look like?
[1]: http://reddit.com/r/rust/comments/4x8jqt/zerocost_futures_in_rust/d6dm0f5 http://reddit.com/r/rust/comments/4x8jqt/zerocost_futures_in...
- cyber1 10y agofutures-minihttp(2 threads): $ wrk -c 100 -t 2 -d 20 http://127.0.0.1:8080/plaintext Running 20s test @ http://127.0.0.1:8080/plaintext 2 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 633.87us 808.22us 24.66ms 98.41% Req/Sec 86.72k 4.84k 94.90k 85.75% 3452383 requests in 20.01s, 424.73MB read Requests/sec: 172546.21 Transfer/sec: 21.23MB lwan(2 threads): $ wrk -c 100 -t 2 -d 20 http://127.0.0.1:8080/ Running 20s test @ http://127.0.0.1:8080/ 2 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 375.26us 618.54us 20.60ms 98.21% Req/Sec 116.82k 5.56k 124.07k 92.25% 4647906 requests in 20.00s, 846.62MB read Requests/sec: 232339.90 Transfer/sec: 42.32MB