Created
May 29, 2010 18:42
-
-
Save joshbuddy/418444 to your computer and use it in GitHub Desktop.
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
| crapbook-pro:http_router joshua$ ruby benchmarks/rec2.rb | |
| Results | | |
| ------------------------------------- | |
| 2 levels, static 1.845 | | |
| 4 levels, static 2.066 | | |
| 8 levels, static 2.223 | | |
| 4 levels, 1 dynamic 2.206 | | |
| 8 levels, 3 dynamic 2.714 | | |
| 4 levels, 1 greedy 2.915 | | |
| 17044 | |
| crapbook-pro:http_router joshua$ ruby benchmarks/gen2.rb | |
| Results | | |
| --named----------------------------------------- | |
| simple 0.439 | | |
| one variable (through array) 0.513 | | |
| one variable (through hash) 0.736 | | |
| three variable (through array) 0.639 | | |
| three variable (through hash) 0.884 | | |
| eight variable (through array) 0.806 | | |
| eight variable (through hash) 1.255 | | |
| three variable + three extras 2.623 | | |
| three variable + five extras 3.703 | | |
| 9852 |
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
| crapbook-pro:http_router joshua$ ruby benchmarks/rack_recognition_bm.rb | |
| Results | | |
| ------------------------------------- | |
| 2 levels, static 2.184 | | |
| 4 levels, static 3.132 | | |
| 8 levels, static 4.424 | | |
| 4 levels, 1 dynamic 4.796 | | |
| 8 levels, 3 dynamic 6.634 | | |
| 4 levels, 1 greedy 7.362 | | |
| 268348 | |
| crapbook-pro:http_router joshua$ ruby benchmarks/generation_bm.rb | |
| Results | | |
| --named----------------------------------------- | |
| simple 0.595 | | |
| one variable (through array) 0.846 | | |
| one variable (through hash) 0.786 | | |
| three variable (through array) 0.777 | | |
| three variable (through hash) 0.931 | | |
| eight variable (through array) 0.896 | | |
| eight variable (through hash) 1.234 | | |
| three variable + three extras 2.796 | | |
| three variable + five extras 3.845 | | |
| 11928 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment