Skip to content

Instantly share code, notes, and snippets.

@fizx
Created January 4, 2010 20:43
Show Gist options
  • Select an option

  • Save fizx/268841 to your computer and use it in GitHub Desktop.

Select an option

Save fizx/268841 to your computer and use it in GitHub Desktop.
ab -n 10 -c 1 http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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).....done
Server Software: SimpleHTTP/0.6
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 966 bytes
Concurrency Level: 1
Time taken for tests: 0.956 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 11050 bytes
HTML transferred: 9660 bytes
Requests per second: 10.46 [#/sec] (mean)
Time per request: 95.584 [ms] (mean)
Time per request: 95.584 [ms] (mean, across all concurrent requests)
Transfer rate: 11.29 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 92 95 1.5 96 98
Waiting: 3 4 0.8 3 6
Total: 92 96 1.5 96 98
WARNING: The median and mean for the waiting time are not within a normal deviation
These results are probably not that reliable.
Percentage of the requests served within a certain time (ms)
50% 96
66% 96
75% 96
80% 96
90% 98
95% 98
98% 98
99% 98
100% 98 (longest request)
ab -n 100 -c 10 http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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).....done
Server Software: SimpleHTTP/0.6
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 966 bytes
Concurrency Level: 10
Time taken for tests: 1.071 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 110500 bytes
HTML transferred: 96600 bytes
Requests per second: 93.34 [#/sec] (mean)
Time per request: 107.137 [ms] (mean)
Time per request: 10.714 [ms] (mean, across all concurrent requests)
Transfer rate: 100.72 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.0 0 5
Processing: 8 54 193.1 14 1066
Waiting: 6 51 188.4 12 975
Total: 9 54 193.5 14 1071
Percentage of the requests served within a certain time (ms)
50% 14
66% 15
75% 16
80% 17
90% 21
95% 99
98% 979
99% 1071
100% 1071 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment