Skip to content

Instantly share code, notes, and snippets.

@rgilton
Created April 17, 2015 22:46
Show Gist options
  • Save rgilton/cb4a2927ecb5c1d7627e to your computer and use it in GitHub Desktop.
Save rgilton/cb4a2927ecb5c1d7627e to your computer and use it in GitHub Desktop.
-bash-4.2$ ab -k -c 400 -n 2000 http://localhost:8000/comp-api/config
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 200 requests
Completed 400 requests
Completed 600 requests
Completed 800 requests
Completed 1000 requests
Completed 1200 requests
Completed 1400 requests
Completed 1600 requests
Completed 1800 requests
Completed 2000 requests
Finished 2000 requests
Server Software: Apache/2.4.10
Server Hostname: localhost
Server Port: 8000
Document Path: /comp-api/config
Document Length: 282 bytes
Concurrency Level: 400
Time taken for tests: 11.531 seconds
Complete requests: 2000
Failed requests: 77
(Connect: 0, Receive: 0, Length: 77, Exceptions: 0)
Keep-Alive requests: 1924
Total transferred: 921596 bytes
HTML transferred: 542568 bytes
Requests per second: 173.45 [#/sec] (mean)
Time per request: 2306.143 [ms] (mean)
Time per request: 5.765 [ms] (mean, across all concurrent requests)
Transfer rate: 78.05 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 4 8.2 0 25
Processing: 39 1780 2883.7 321 11501
Waiting: 39 1764 2906.3 320 11501
Total: 60 1783 2887.8 323 11523
Percentage of the requests served within a certain time (ms)
50% 323
66% 477
75% 3853
80% 4067
90% 4568
95% 10172
98% 11477
99% 11500
100% 11523 (longest request)
-bash-4.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment