Skip to content

Instantly share code, notes, and snippets.

@fjorgemota
Created January 13, 2012 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjorgemota/1609192 to your computer and use it in GitHub Desktop.
Save fjorgemota/1609192 to your computer and use it in GitHub Desktop.
Benchmarking of my WebServer with the HTTP/1.1 specifications and timeout running in Ubuntu with Python 2.7 and epoll
fernando@ubuntu:/etc$ ab -n 10000 -c 25 http://127.0.0.1/
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 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:
Server Hostname: 127.0.0.1
Server Port: 80
Document Path: /
Document Length: 12 bytes
Concurrency Level: 25
Time taken for tests: 0.657 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 520000 bytes
HTML transferred: 120000 bytes
Requests per second: 15230.11 [#/sec] (mean)
Time per request: 1.641 [ms] (mean)
Time per request: 0.066 [ms] (mean, across all concurrent requests)
Transfer rate: 773.40 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 0 2 0.2 2 4
Waiting: 0 2 0.2 1 4
Total: 1 2 0.2 2 4
ERROR: The median and mean for the waiting time are more than twice the standard
deviation apart. These results are NOT reliable.
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 2
80% 2
90% 2
95% 2
98% 2
99% 2
100% 4 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment