Skip to content

Instantly share code, notes, and snippets.

@drogus
Created December 12, 2010 16:51
Show Gist options
  • Save drogus/738168 to your computer and use it in GitHub Desktop.
Save drogus/738168 to your computer and use it in GitHub Desktop.
$ ab -c 1 -n 1000 http://127.0.0.1:3000/home
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 127.0.0.1 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: thin
Server Hostname: 127.0.0.1
Server Port: 3000
Document Path: /posts/
Document Length: 13 bytes
Concurrency Level: 1
Time taken for tests: 3.631 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 277000 bytes
HTML transferred: 13000 bytes
Requests per second: 275.43 [#/sec] (mean)
Time per request: 3.631 [ms] (mean)
Time per request: 3.631 [ms] (mean, across all concurrent requests)
Transfer rate: 74.50 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 2 3 9.2 2 86
Waiting: 2 3 9.2 2 86
Total: 2 4 9.2 2 86
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 2
80% 3
90% 3
95% 3
98% 15
99% 70
100% 86 (longest request)
$ ab -c 1 -n 1000 http://127.0.0.1:3000/api
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 127.0.0.1 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: thin
Server Hostname: 127.0.0.1
Server Port: 3000
Document Path: /api/posts/
Document Length: 13 bytes
Concurrency Level: 1
Time taken for tests: 2.663 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 277000 bytes
HTML transferred: 13000 bytes
Requests per second: 375.50 [#/sec] (mean)
Time per request: 2.663 [ms] (mean)
Time per request: 2.663 [ms] (mean, across all concurrent requests)
Transfer rate: 101.57 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 2
Processing: 1 3 7.5 2 87
Waiting: 0 2 7.5 1 87
Total: 1 3 7.5 2 87
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 2
80% 2
90% 2
95% 3
98% 7
99% 71
100% 87 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment