Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created June 25, 2014 19:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garybernhardt/e365d1fff3ada4c7c50d to your computer and use it in GitHub Desktop.
Save garybernhardt/e365d1fff3ada4c7c50d to your computer and use it in GitHub Desktop.
failbowl:selecta(scoring_redesign) $ ruby ../readygo/readygo.rb --compare benchmark.rb
.!.!.!.!.!.!.!.!..!.!.!.!.!.!.!.!.!.!...!.!.!.!.!.!.!.!.............................................................................................................
filtering non-matching
Baseline: | X-----------|
Current: | X--------- |
0 6.848 ms
filtering matching exactly
Baseline: | X-------------------|
Current: | X |
0 68.219 ms
filtering matching broken up
Baseline: | X-- |
Current: | X------|
0 1.748 s
filtering overlapping matches
Baseline: | X------------------------|
Current: | X |
0 174.250 ms
filtering words, non-matching
Baseline: | X----------------|
Current: | X--- |
0 6.865 s
filtering words, matching
Baseline: | X--------------------|
Current: | X-------- |
0 8.087 s
filtering paths
Baseline: | X---------------|
Current: | X-------- |
0 7.658 s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment