Created
October 15, 2009 16:53
-
-
Save seancribbs/211085 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
# After Array#pack optimizations | |
insert (small, no index)....................................7398 | |
insert (medium, no index)...................................1591 | |
insert (large, no index)....................................968 | |
insert (small, indexed).....................................5832 | |
insert (medium, indexed)....................................6185 | |
insert (large, indexed).....................................1023 | |
batch insert (small, no index)..............................27654 | |
batch insert (medium, no index).............................17027 | |
batch insert (large, no index)..............................896 | |
find_one (small, no index)..................................2315 | |
find_one (medium, no index).................................2330 | |
find_one (large, no index)..................................2330 | |
find_one (small, indexed)...................................2306 | |
find_one (medium, indexed)..................................2307 | |
find_one (large, indexed)...................................2290 | |
find (small, no index)......................................2380 | |
find (medium, no index).....................................2373 | |
find (large, no index)......................................2376 | |
find (small, indexed).......................................2344 | |
find (medium, indexed)......................................2347 | |
find (large, indexed).......................................2354 | |
find range (small, indexed).................................2198 | |
find range (medium, indexed)................................2194 | |
find range (large, indexed).................................2201 |
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
# Before Array#pack optimizations | |
insert (small, no index)....................................6175 | |
insert (medium, no index)...................................1400 | |
insert (large, no index)....................................298 | |
insert (small, indexed).....................................5012 | |
insert (medium, indexed)....................................4320 | |
insert (large, indexed).....................................301 | |
batch insert (small, no index)..............................20115 | |
batch insert (medium, no index).............................8631 | |
batch insert (large, no index)..............................282 | |
find_one (small, no index)..................................2025 | |
find_one (medium, no index).................................2148 | |
find_one (large, no index)..................................2093 | |
find_one (small, indexed)...................................2036 | |
find_one (medium, indexed)..................................1994 | |
find_one (large, indexed)...................................1975 | |
find (small, no index)......................................1970 | |
find (medium, no index).....................................1950 | |
find (large, no index)......................................1920 | |
find (small, indexed).......................................1861 | |
find (medium, indexed)......................................1854 | |
find (large, indexed).......................................1826 | |
find range (small, indexed).................................1660 | |
find range (medium, indexed)................................1620 | |
find range (large, indexed).................................1645 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment