Skip to content

Instantly share code, notes, and snippets.

@rgilton
Created April 17, 2015 22:38
Show Gist options
  • Save rgilton/e9af79a9d8ca86152d26 to your computer and use it in GitHub Desktop.
Save rgilton/e9af79a9d8ca86152d26 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: 22.973 seconds
Complete requests: 2000
Failed requests: 0
Total transferred: 884000 bytes
HTML transferred: 564000 bytes
Requests per second: 87.06 [#/sec] (mean)
Time per request: 4594.671 [ms] (mean)
Time per request: 11.487 [ms] (mean, across all concurrent requests)
Transfer rate: 37.58 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 4 23.5 0 1000
Processing: 232 3207 4566.2 473 22947
Waiting: 231 3203 4565.6 470 22946
Total: 232 3211 4571.8 473 22965
Percentage of the requests served within a certain time (ms)
50% 473
66% 4840
75% 5227
80% 5251
90% 7904
95% 8176
98% 22865
99% 22897
100% 22965 (longest request)
-bash-4.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment