Created
August 20, 2009 21:13
-
-
Save methodmissing/171389 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
| methodmissing:hwia lourens$ rake bench | |
| (in /Users/lourens/projects/hwia) | |
| ruby bench/bench.rb | |
| warning: Insecure world writable dir /Users/lourens in PATH, mode 040753 | |
| Rehearsal ------------------------------------------------------------------------------ | |
| StrHash#[:sym] 0.000000 0.000000 0.000000 ( 0.002867) | |
| HashWithIndifferentAccess#[:sym] 0.020000 0.000000 0.020000 ( 0.021870) | |
| StrHash#['str'] 0.010000 0.000000 0.010000 ( 0.012825) | |
| HashWithIndifferentAccess#['str] 0.000000 0.000000 0.000000 ( 0.003800) | |
| StrHash#key?(:sym) 0.000000 0.000000 0.000000 ( 0.002781) | |
| HashWithIndifferentAccess#key?(:sym) 0.020000 0.000000 0.020000 ( 0.013435) | |
| StrHash#key?('str') 0.000000 0.000000 0.000000 ( 0.004621) | |
| HashWithIndifferentAccess#key?('str') 0.010000 0.000000 0.010000 ( 0.010844) | |
| StrHash#fetch(:sym) 0.010000 0.000000 0.010000 ( 0.003148) | |
| HashWithIndifferentAccess#fetch(:sym) 0.020000 0.000000 0.020000 ( 0.019832) | |
| StrHash#fetch('str') 0.000000 0.000000 0.000000 ( 0.004895) | |
| HashWithIndifferentAccess#fetch('str') 0.020000 0.000000 0.020000 ( 0.017469) | |
| StrHash#values_at(:sym) 0.000000 0.000000 0.000000 ( 0.005729) | |
| HashWithIndifferentAccess#values_at(:sym) 0.030000 0.000000 0.030000 ( 0.022637) | |
| StrHash#values_at('str') 0.000000 0.000000 0.000000 ( 0.008738) | |
| HashWithIndifferentAccess#values_at('str') 0.020000 0.000000 0.020000 ( 0.020221) | |
| StrHash#['str']= 0.000000 0.000000 0.000000 ( 0.005310) | |
| HashWithIndifferentAccess#['str]= 0.020000 0.000000 0.020000 ( 0.018687) | |
| StrHash#[:sym]= 0.000000 0.000000 0.000000 ( 0.003775) | |
| HashWithIndifferentAccess#[:sym]= 0.020000 0.000000 0.020000 ( 0.021361) | |
| StrHash#update 0.010000 0.000000 0.010000 ( 0.005935) | |
| HashWithIndifferentAccess#update 0.050000 0.000000 0.050000 ( 0.050969) | |
| --------------------------------------------------------------------- total: 0.260000sec | |
| user system total real | |
| StrHash#[:sym] 0.000000 0.000000 0.000000 ( 0.002839) | |
| HashWithIndifferentAccess#[:sym] 0.030000 0.000000 0.030000 ( 0.021741) | |
| StrHash#['str'] 0.000000 0.000000 0.000000 ( 0.003810) | |
| HashWithIndifferentAccess#['str] 0.000000 0.000000 0.000000 ( 0.003810) | |
| StrHash#key?(:sym) 0.010000 0.000000 0.010000 ( 0.002847) | |
| HashWithIndifferentAccess#key?(:sym) 0.010000 0.000000 0.010000 ( 0.013551) | |
| StrHash#key?('str') 0.010000 0.000000 0.010000 ( 0.004063) | |
| HashWithIndifferentAccess#key?('str') 0.010000 0.000000 0.010000 ( 0.010845) | |
| StrHash#fetch(:sym) 0.000000 0.000000 0.000000 ( 0.003133) | |
| HashWithIndifferentAccess#fetch(:sym) 0.020000 0.000000 0.020000 ( 0.021504) | |
| StrHash#fetch('str') 0.010000 0.000000 0.010000 ( 0.004339) | |
| HashWithIndifferentAccess#fetch('str') 0.010000 0.000000 0.010000 ( 0.017101) | |
| StrHash#values_at(:sym) 0.010000 0.000000 0.010000 ( 0.005600) | |
| HashWithIndifferentAccess#values_at(:sym) 0.020000 0.000000 0.020000 ( 0.024071) | |
| StrHash#values_at('str') 0.010000 0.000000 0.010000 ( 0.006979) | |
| HashWithIndifferentAccess#values_at('str') 0.020000 0.000000 0.020000 ( 0.019995) | |
| StrHash#['str']= 0.010000 0.000000 0.010000 ( 0.004568) | |
| HashWithIndifferentAccess#['str]= 0.010000 0.000000 0.010000 ( 0.018521) | |
| StrHash#[:sym]= 0.010000 0.000000 0.010000 ( 0.003725) | |
| HashWithIndifferentAccess#[:sym]= 0.020000 0.000000 0.020000 ( 0.019377) | |
| StrHash#update 0.000000 0.000000 0.000000 ( 0.005906) | |
| HashWithIndifferentAccess#update 0.050000 0.000000 0.050000 ( 0.048892) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment