Created
October 17, 2012 10:41
-
-
Save cheald/3904906 to your computer and use it in GitHub Desktop.
Templating benchmarks
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
## ERB | |
hamlerbslim git:(master*) ruby-1.9.3 % ab -n 1000 -c 1 http://0.0.0.0:5423/erb | |
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 0.0.0.0 (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: thin | |
Server Hostname: 0.0.0.0 | |
Server Port: 5423 | |
Document Path: /erb | |
Document Length: 6128 bytes | |
Concurrency Level: 1 | |
Time taken for tests: 3.074 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 6496000 bytes | |
HTML transferred: 6128000 bytes | |
Requests per second: 325.28 [#/sec] (mean) | |
Time per request: 3.074 [ms] (mean) | |
Time per request: 3.074 [ms] (mean, across all concurrent requests) | |
Transfer rate: 2063.48 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.0 0 0 | |
Processing: 2 3 2.3 3 35 | |
Waiting: 2 3 2.3 3 35 | |
Total: 2 3 2.3 3 35 | |
Percentage of the requests served within a certain time (ms) | |
50% 3 | |
66% 3 | |
75% 3 | |
80% 3 | |
90% 3 | |
95% 3 | |
98% 3 | |
99% 21 | |
100% 35 (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
## HAML | |
hamlerbslim git:(master*) ruby-1.9.3 % ab -n 1000 -c 1 http://0.0.0.0:5423/haml | |
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 0.0.0.0 (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: thin | |
Server Hostname: 0.0.0.0 | |
Server Port: 5423 | |
Document Path: /haml | |
Document Length: 4927 bytes | |
Concurrency Level: 1 | |
Time taken for tests: 3.519 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 5295000 bytes | |
HTML transferred: 4927000 bytes | |
Requests per second: 284.17 [#/sec] (mean) | |
Time per request: 3.519 [ms] (mean) | |
Time per request: 3.519 [ms] (mean, across all concurrent requests) | |
Transfer rate: 1469.40 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.0 0 0 | |
Processing: 3 3 2.4 3 37 | |
Waiting: 3 3 2.4 3 37 | |
Total: 3 3 2.4 3 37 | |
Percentage of the requests served within a certain time (ms) | |
50% 3 | |
66% 3 | |
75% 3 | |
80% 3 | |
90% 3 | |
95% 3 | |
98% 4 | |
99% 21 | |
100% 37 (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
## Slim | |
hamlerbslim git:(master*) ruby-1.9.3 % ab -n 1000 -c 1 http://0.0.0.0:5423/slim | |
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 0.0.0.0 (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: thin | |
Server Hostname: 0.0.0.0 | |
Server Port: 5423 | |
Document Path: /slim | |
Document Length: 4624 bytes | |
Concurrency Level: 1 | |
Time taken for tests: 2.960 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 4992000 bytes | |
HTML transferred: 4624000 bytes | |
Requests per second: 337.80 [#/sec] (mean) | |
Time per request: 2.960 [ms] (mean) | |
Time per request: 2.960 [ms] (mean, across all concurrent requests) | |
Transfer rate: 1646.78 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.0 0 0 | |
Processing: 2 3 2.3 3 35 | |
Waiting: 2 3 2.3 3 35 | |
Total: 2 3 2.3 3 36 | |
Percentage of the requests served within a certain time (ms) | |
50% 3 | |
66% 3 | |
75% 3 | |
80% 3 | |
90% 3 | |
95% 3 | |
98% 3 | |
99% 20 | |
100% 36 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment