Skip to content

Instantly share code, notes, and snippets.

@dvv
Created December 1, 2012 09:44
Show Gist options
  • Save dvv/4181331 to your computer and use it in GitHub Desktop.
Save dvv/4181331 to your computer and use it in GitHub Desktop.
naive moonslice-luv performance test
Latest moonslice-luv hello world:
[dvv@dvv take6]$ wrk -c20k -r1000k http://localhost:8080/greet
Making 1000000 requests to http://localhost:8080/greet
2 threads and 20000 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 268.44ms 334.12ms 2.37s 81.42%
Req/Sec 6.51k 1.99k 8.00k 88.55%
1000160 requests in 1.02m, 132.58MB read
Socket errors: connect 0, read 8774, write 0, timeout 257854
Requests/sec: 16409.30
Transfer/sec: 2.18MB
Latest cowboy hello world, SMP disabled:
[dvv@dvv take6]$ wrk -c20k -r1000k http://localhost:8080/
Making 1000000 requests to http://localhost:8080/
2 threads and 20000 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 96.80ms 156.22ms 512.62ms 73.52%
Req/Sec 7.54k 0.99k 9.00k 74.48%
1000000 requests in 0.96m, 122.07MB read
Socket errors: connect 0, read 11714, write 0, timeout 353487
Requests/sec: 17380.44
Transfer/sec: 2.12MB
@dvv
Copy link
Author

dvv commented Dec 1, 2012

both take whole CPU core and use 10-15% of memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment