Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.