Skip to content

Instantly share code, notes, and snippets.

@rgilton
Created April 17, 2015 22:44
Show Gist options
  • Save rgilton/dec252eb65046347f9b2 to your computer and use it in GitHub Desktop.
Save rgilton/dec252eb65046347f9b2 to your computer and use it in GitHub Desktop.
-bash-4.2$ ab -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: 12.962 seconds
Complete requests: 2000
Failed requests: 0
Total transferred: 884000 bytes
HTML transferred: 564000 bytes
Requests per second: 154.29 [#/sec] (mean)
Time per request: 2592.478 [ms] (mean)
Time per request: 6.481 [ms] (mean, across all concurrent requests)
Transfer rate: 66.60 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 10 134.4 0 3006
Processing: 9 2371 3266.0 419 12934
Waiting: 9 2368 3265.6 416 12934
Total: 29 2381 3272.6 419 12952
Percentage of the requests served within a certain time (ms)
50% 419
66% 785
75% 4964
80% 4997
90% 5082
95% 11243
98% 12904
99% 12937
100% 12952 (longest request)
-bash-4.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment