Created
July 14, 2013 13:46
-
-
Save VaclavSir/5994327 to your computer and use it in GitHub Desktop.
Hello World benchmark.
This file contains 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 2000 -c 10 http://localhost/framework-bench/helloworld/codeigniter/index.php/say/hello | |
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 200 requests | |
Completed 400 requests | |
Completed 600 requests | |
Completed 800 requests | |
Completed 1000 requests | |
Completed 1200 requests | |
Completed 1400 requests | |
Completed 1600 requests | |
Completed 1800 requests | |
Completed 2000 requests | |
Finished 2000 requests | |
Server Software: Apache/2.2.22 | |
Server Hostname: localhost | |
Server Port: 80 | |
Document Path: /framework-bench/helloworld/codeigniter/index.php/say/hello | |
Document Length: 16 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 21.115 seconds | |
Complete requests: 2000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 454000 bytes | |
HTML transferred: 32000 bytes | |
Requests per second: 94.72 [#/sec] (mean) | |
Time per request: 105.574 [ms] (mean) | |
Time per request: 10.557 [ms] (mean, across all concurrent requests) | |
Transfer rate: 21.00 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.2 0 4 | |
Processing: 18 105 36.2 105 356 | |
Waiting: 18 100 35.2 99 347 | |
Total: 18 105 36.3 105 360 | |
Percentage of the requests served within a certain time (ms) | |
50% 105 | |
66% 118 | |
75% 125 | |
80% 130 | |
90% 145 | |
95% 160 | |
98% 179 | |
99% 197 | |
100% 360 (longest request) |
This file contains 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
require("http").createServer(function (request, response) { | |
response.writeHead(200, { "Content-Type": "text/html" }); | |
response.end("<h1>Hello!</h1>"); | |
}).listen(8000); |
This file contains 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 2000 -c 10 http://localhost: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 localhost (be patient) | |
Completed 200 requests | |
Completed 400 requests | |
Completed 600 requests | |
Completed 800 requests | |
Completed 1000 requests | |
Completed 1200 requests | |
Completed 1400 requests | |
Completed 1600 requests | |
Completed 1800 requests | |
Completed 2000 requests | |
Finished 2000 requests | |
Server Software: | |
Server Hostname: localhost | |
Server Port: 8000 | |
Document Path: / | |
Document Length: 15 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 0.980 seconds | |
Complete requests: 2000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 230000 bytes | |
HTML transferred: 30000 bytes | |
Requests per second: 2041.07 [#/sec] (mean) | |
Time per request: 4.899 [ms] (mean) | |
Time per request: 0.490 [ms] (mean, across all concurrent requests) | |
Transfer rate: 229.22 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.2 0 4 | |
Processing: 0 5 4.9 4 64 | |
Waiting: 0 5 4.8 4 64 | |
Total: 1 5 4.9 4 65 | |
Percentage of the requests served within a certain time (ms) | |
50% 4 | |
66% 4 | |
75% 4 | |
80% 5 | |
90% 7 | |
95% 9 | |
98% 15 | |
99% 22 | |
100% 65 (longest request) |
This file contains 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 2000 -c 10 http://localhost/framework-bench/helloworld/nette/www/index.php | |
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 200 requests | |
Completed 400 requests | |
Completed 600 requests | |
Completed 800 requests | |
Completed 1000 requests | |
Completed 1200 requests | |
Completed 1400 requests | |
Completed 1600 requests | |
Completed 1800 requests | |
Completed 2000 requests | |
Finished 2000 requests | |
Server Software: Apache/2.2.22 | |
Server Hostname: localhost | |
Server Port: 80 | |
Document Path: /framework-bench/helloworld/nette/www/index.php | |
Document Length: 579 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 110.223 seconds | |
Complete requests: 2000 | |
Failed requests: 1998 | |
(Connect: 0, Receive: 0, Length: 1998, Exceptions: 0) | |
Write errors: 0 | |
Non-2xx responses: 2 | |
Total transferred: 533166 bytes | |
HTML transferred: 33126 bytes | |
Requests per second: 18.15 [#/sec] (mean) | |
Time per request: 551.114 [ms] (mean) | |
Time per request: 55.111 [ms] (mean, across all concurrent requests) | |
Transfer rate: 4.72 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.4 0 7 | |
Processing: 109 551 176.0 553 7176 | |
Waiting: 109 545 174.8 547 7152 | |
Total: 109 551 176.2 553 7183 | |
Percentage of the requests served within a certain time (ms) | |
50% 553 | |
66% 588 | |
75% 608 | |
80% 619 | |
90% 651 | |
95% 688 | |
98% 736 | |
99% 773 | |
100% 7183 (longest request) |
This file contains 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 2000 -c 10 http://localhost/framework-bench/helloworld/zendfw/public/index.php | |
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 200 requests | |
Completed 400 requests | |
Completed 600 requests | |
Completed 800 requests | |
Completed 1000 requests | |
Completed 1200 requests | |
Completed 1400 requests | |
Completed 1600 requests | |
Completed 1800 requests | |
Completed 2000 requests | |
Finished 2000 requests | |
Server Software: Apache/2.2.22 | |
Server Hostname: localhost | |
Server Port: 80 | |
Document Path: /framework-bench/helloworld/zendfw/public/index.php | |
Document Length: 16 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 52.362 seconds | |
Complete requests: 2000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 454000 bytes | |
HTML transferred: 32000 bytes | |
Requests per second: 38.20 [#/sec] (mean) | |
Time per request: 261.810 [ms] (mean) | |
Time per request: 26.181 [ms] (mean, across all concurrent requests) | |
Transfer rate: 8.47 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 2 | |
Processing: 50 261 62.6 268 468 | |
Waiting: 50 257 61.4 263 468 | |
Total: 50 261 62.6 268 468 | |
Percentage of the requests served within a certain time (ms) | |
50% 268 | |
66% 290 | |
75% 303 | |
80% 311 | |
90% 338 | |
95% 356 | |
98% 375 | |
99% 388 | |
100% 468 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment