Skip to content

Instantly share code, notes, and snippets.

@ralt
Created May 10, 2017 21:53
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 ralt/18a8a9e3ad8e1877d8ab2b7c0fcb2877 to your computer and use it in GitHub Desktop.
Save ralt/18a8a9e3ad8e1877d8ab2b7c0fcb2877 to your computer and use it in GitHub Desktop.
# Lisp event loop-based HTTP server
[ralt@zap wrk]$ ./wrk -t12 -c400 -d10s http://localhost:5560
Running 10s test @ http://localhost:5560
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 11.79ms 76.32ms 1.67s 98.24%
Req/Sec 3.13k 2.17k 8.72k 63.38%
347075 requests in 10.09s, 15.23MB read
Socket errors: connect 0, read 0, write 0, timeout 12
Requests/sec: 34395.16
Transfer/sec: 1.51MB
# Golang-based HTTP server
[ralt@zap wrk]$ ./wrk -t12 -c400 -d10s http://localhost:9999
Running 10s test @ http://localhost:9999
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 2.04ms 11.93ms 225.97ms 98.87%
Req/Sec 10.20k 4.45k 26.37k 70.77%
1205530 requests in 10.07s, 52.89MB read
Requests/sec: 119731.82
Transfer/sec: 5.25MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment