Last active
August 29, 2015 14:01
-
-
Save garybernhardt/b465d3d248b58e26a6f6 to your computer and use it in GitHub Desktop.
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
bench "paths", :without_gc => true, :gc_time => true do | |
PATHS[0, 1000].each { |choice| Score.score(choice, "x" * 16) } | |
end | |
Output: | |
...!.!.!.!.............................................. | |
filtering paths | |
Before: | --X----------------------- | | |
After: | ---------X-------------------------| | |
0 14.1 | |
filtering paths (GC Disabled) | |
Before: | -X---------------- | | |
After: | --X---------------------------------| | |
0 14.6 | |
filtering paths (GC Time) | |
Before: | ----X------ | | |
After: | ---X----------------| | |
0 0.00161 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment