Created
May 10, 2012 22:59
-
-
Save ianbishop/2656455 to your computer and use it in GitHub Desktop.
Symbol#to_proc benchmark
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
| $ ruby toproc.rb | |
| Rehearsal -------------------------------------------------- | |
| Method invoke 1.240000 0.000000 1.240000 ( 1.246622) | |
| Symbol.to_proc 1.550000 0.000000 1.550000 ( 1.553462) | |
| ----------------------------------------- total: 2.790000sec | |
| user system total real | |
| Method invoke 1.260000 0.000000 1.260000 ( 1.262633) | |
| Symbol.to_proc 1.420000 0.000000 1.420000 ( 1.424335) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment