Skip to content

Instantly share code, notes, and snippets.

@simoncpu
Created December 21, 2009 12:32
Show Gist options
  • Save simoncpu/260928 to your computer and use it in GitHub Desktop.
Save simoncpu/260928 to your computer and use it in GitHub Desktop.
simoncpu@soulfury:~$ ab -c 50 -n 100000 -k http://127.0.0.1:8000/
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 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8000
Document Path: /
Document Length: 4 bytes
Concurrency Level: 50
Time taken for tests: 352.056 seconds
Complete requests: 100000
Failed requests: 50000
(Connect: 0, Receive: 0, Length: 50000, Exceptions: 0)
Write errors: 0
Keep-Alive requests: 50000
Total transferred: 3650000 bytes
HTML transferred: 200000 bytes
Requests per second: 284.05 [#/sec] (mean)
Time per request: 176.028 [ms] (mean)
Time per request: 3.521 [ms] (mean, across all concurrent requests)
Transfer rate: 10.12 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 4
Processing: 0 176 252.0 39 2280
Waiting: 0 176 252.0 39 2280
Total: 0 176 252.0 40 2280
Percentage of the requests served within a certain time (ms)
50% 40
66% 260
75% 317
80% 341
90% 426
95% 470
98% 510
99% 1486
100% 2280 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment