Skip to content

Instantly share code, notes, and snippets.

@trustin
Created June 10, 2013 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trustin/5752973 to your computer and use it in GitHub Desktop.
Save trustin/5752973 to your computer and use it in GitHub Desktop.
Simplistic HTTP performance test: Netty 3 vs 4 (master) /// Became a tad bit slower with less variation. Maybe due to validations required for more strict thread model and reduced garbage production. 4 at port 8080 and 3 at port 8088.
$ wrk -c 1024 -d 120m -t 1 --latency http://localhost:8080/
Running 120m test @ http://localhost:8080/
1 threads and 1024 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 5.80ms 2.68ms 65.36ms 80.40%
Req/Sec 101.95k 221.90 107.00k 95.17%
Latency Distribution
50% 4.81ms
75% 5.45ms
90% 9.84ms
99% 14.74ms
735002574 requests in 120.00m, 233.42GB read
Socket errors: connect 0, read 0, write 0, timeout 15
Requests/sec: 102083.65
Transfer/sec: 33.20MB
$ wrk -c 1024 -d 120m -t 1 --latency http://localhost:8088/
Running 120m test @ http://localhost:8088/
1 threads and 1024 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 5.39ms 2.11ms 35.11ms 86.51%
Req/Sec 103.06k 455.20 119.00k 96.24%
Latency Distribution
50% 4.80ms
75% 5.26ms
90% 9.04ms
99% 13.10ms
747665541 requests in 120.00m, 226.30GB read
Socket errors: connect 0, read 44, write 0, timeout 451
Requests/sec: 103842.37
Transfer/sec: 32.19MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment