Skip to content

Instantly share code, notes, and snippets.

@chergert
Created October 23, 2008 08:18
Show Gist options
  • Save chergert/18960 to your computer and use it in GitHub Desktop.
Save chergert/18960 to your computer and use it in GitHub Desktop.
chergert@chergert-notebook:~$ ab -c 60 -n 1000 http://localhost:8081/api/v1/books
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)
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: Twisted/8.1.0
Server Hostname: localhost
Server Port: 8081
Document Path: /api/v1/books
Document Length: 158 bytes
Concurrency Level: 60
Time taken for tests: 1.649 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 405000 bytes
HTML transferred: 158000 bytes
Requests per second: 606.42 [#/sec] (mean)
Time per request: 98.941 [ms] (mean)
Time per request: 1.649 [ms] (mean, across all concurrent requests)
Transfer rate: 239.85 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 3.0 0 24
Processing: 33 89 28.8 88 622
Waiting: 33 89 28.8 88 622
Total: 33 89 28.5 89 622
Percentage of the requests served within a certain time (ms)
50% 89
66% 92
75% 93
80% 93
90% 96
95% 103
98% 140
99% 141
100% 622 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment