Skip to content

Instantly share code, notes, and snippets.

@rgilton
Created April 17, 2015 22:22
Show Gist options
  • Save rgilton/10797726250294374231 to your computer and use it in GitHub Desktop.
Save rgilton/10797726250294374231 to your computer and use it in GitHub Desktop.
-bash-4.2$ ab -c 400 -n 10000 http://localhost/
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 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software: Apache/2.4.10
Server Hostname: localhost
Server Port: 80
Document Path: /
Document Length: 291 bytes
Concurrency Level: 400
Time taken for tests: 3.230 seconds
Complete requests: 10000
Failed requests: 0
Non-2xx responses: 10000
Total transferred: 5110000 bytes
HTML transferred: 2910000 bytes
Requests per second: 3096.28 [#/sec] (mean)
Time per request: 129.187 [ms] (mean)
Time per request: 0.323 [ms] (mean, across all concurrent requests)
Transfer rate: 1545.12 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 24.6 1 1002
Processing: 4 52 256.2 14 3207
Waiting: 3 51 256.2 13 3207
Total: 8 53 259.2 14 3220
Percentage of the requests served within a certain time (ms)
50% 14
66% 15
75% 15
80% 15
90% 17
95% 18
98% 833
99% 1625
100% 3220 (longest request)
-bash-4.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment