Skip to content

Instantly share code, notes, and snippets.

@BenWhitehead
Created August 20, 2014 20:39
Show Gist options
  • Save BenWhitehead/2aaa93f5b141e78c2bcb to your computer and use it in GitHub Desktop.
Save BenWhitehead/2aaa93f5b141e78c2bcb to your computer and use it in GitHub Desktop.
logging performance difference when running in docker
##### Logging to stdout #######################################################
benw@m02:~/wrk$ ./wrk -t4 -c100 -d30s http://s07.dev.orch.msphere.co:31713/test
Running 30s test @ http://s07.dev.orch.msphere.co:31713/test
4 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 33.38ms 97.26ms 677.79ms 97.61%
Req/Sec 1.36k 311.38 1.94k 85.13%
161734 requests in 30.00s, 11.41MB read
Requests/sec: 5391.33
Transfer/sec: 389.61KB
##### Logging to rolling file #################################################
benw@m02:~/wrk$ ./wrk -t4 -c100 -d30s http://s01.dev.orch.msphere.co:31257/test
Running 30s test @ http://s01.dev.orch.msphere.co:31257/test
4 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 12.82ms 18.89ms 214.55ms 98.37%
Req/Sec 2.40k 485.12 3.86k 83.56%
279984 requests in 30.00s, 19.76MB read
Requests/sec: 9333.18
Transfer/sec: 674.47KB
### 73.11% Performance Gain Logging to file VS stdout #########################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment