Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created February 28, 2024 16:45
Show Gist options
  • Save zamazan4ik/f55e558f62a3c04c40c3e98993a2c3a6 to your computer and use it in GitHub Desktop.
Save zamazan4ik/f55e558f62a3c04c40c3e98993a2c3a6 to your computer and use it in GitHub Desktop.
axum multithread: Release
Running benches/benches.rs (target/release/deps/benches-c5195e68cd28eef2)
Running "minimal" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:46213 for 10 second(s)
Latencies:
Avg Stdev Min Max
0.04ms 0.02ms 0.02ms 1.04ms
Requests:
Total: 2210766 Req/Sec: 221066.53
Transfer:
Total: 172.88 MB Transfer Rate: 17.29 MB/Sec
Running "basic" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:33193/a/b/c for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 0.92ms
Requests:
Total: 2068935 Req/Sec: 206883.56
Transfer:
Total: 256.50 MB Transfer Rate: 25.65 MB/Sec
Running "basic-merge" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:38467/a/b/c for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 0.65ms
Requests:
Total: 2067115 Req/Sec: 206702.57
Transfer:
Total: 256.28 MB Transfer Rate: 25.63 MB/Sec
Running "basic-nest" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:36515/a/b/c for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 0.91ms
Requests:
Total: 1948174 Req/Sec: 194809.18
Transfer:
Total: 241.53 MB Transfer Rate: 24.15 MB/Sec
Running "routing" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:33587/foo/bar/baz for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 1.00ms
Requests:
Total: 2171985 Req/Sec: 217188.68
Transfer:
Total: 155.35 MB Transfer Rate: 15.53 MB/Sec
Running "receive-json" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:34571 for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 1.02ms
Requests:
Total: 2098972 Req/Sec: 209888.53
Transfer:
Total: 150.13 MB Transfer Rate: 15.01 MB/Sec
Running "send-json" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:43553 for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 1.21ms
Requests:
Total: 2058473 Req/Sec: 205837.96
Transfer:
Total: 278.76 MB Transfer Rate: 27.87 MB/Sec
Running "extension" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:35035 for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 1.06ms
Requests:
Total: 2106296 Req/Sec: 210620.85
Transfer:
Total: 150.65 MB Transfer Rate: 15.06 MB/Sec
Running "state" benchmark
Beginning round 1...
Benchmarking 10 connections @ http://0.0.0.0:37569 for 10 second(s)
Latencies:
Avg Stdev Min Max
0.05ms 0.01ms 0.02ms 1.04ms
Requests:
Total: 2190676 Req/Sec: 219058.79
Transfer:
Total: 156.69 MB Transfer Rate: 15.67 MB/Sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment