Created
May 9, 2011 22:51
-
-
Save postmodern/963589 to your computer and use it in GitHub Desktop.
net-http-server benchmarks (single threaded)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ab -n 1000 http://localhost:8080/ | |
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: | |
Server Hostname: localhost | |
Server Port: 8080 | |
Document Path: / | |
Document Length: 11 bytes | |
Concurrency Level: 1 | |
Time taken for tests: 21.745 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 55000 bytes | |
HTML transferred: 11000 bytes | |
Requests per second: 45.99 [#/sec] (mean) | |
Time per request: 21.745 [ms] (mean) | |
Time per request: 21.745 [ms] (mean, across all concurrent requests) | |
Transfer rate: 2.47 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.0 0 1 | |
Processing: 13 22 11.8 15 72 | |
Waiting: 13 21 11.8 14 72 | |
Total: 13 22 11.8 15 72 | |
Percentage of the requests served within a certain time (ms) | |
50% 15 | |
66% 19 | |
75% 20 | |
80% 41 | |
90% 42 | |
95% 43 | |
98% 46 | |
99% 49 | |
100% 72 (longest request) | |
[hal@shadow net-http-server]$ ab -n 4000 http://localhost:8080/ | |
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 400 requests | |
Completed 800 requests | |
Completed 1200 requests | |
Completed 1600 requests | |
Completed 2000 requests | |
Completed 2400 requests | |
Completed 2800 requests | |
Completed 3200 requests | |
Completed 3600 requests | |
Completed 4000 requests | |
Finished 4000 requests | |
Server Software: | |
Server Hostname: localhost | |
Server Port: 8080 | |
Document Path: / | |
Document Length: 11 bytes | |
Concurrency Level: 1 | |
Time taken for tests: 89.451 seconds | |
Complete requests: 4000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 220000 bytes | |
HTML transferred: 44000 bytes | |
Requests per second: 44.72 [#/sec] (mean) | |
Time per request: 22.363 [ms] (mean) | |
Time per request: 22.363 [ms] (mean, across all concurrent requests) | |
Transfer rate: 2.40 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.0 0 0 | |
Processing: 13 22 13.1 15 168 | |
Waiting: 12 22 13.0 15 168 | |
Total: 13 22 13.1 15 168 | |
Percentage of the requests served within a certain time (ms) | |
50% 15 | |
66% 19 | |
75% 22 | |
80% 41 | |
90% 42 | |
95% 44 | |
98% 48 | |
99% 57 | |
100% 168 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment