Created
September 21, 2010 14:54
-
-
Save miloops/589792 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
rails/master | |
| AR | | |
------------------------------------------------------------------ | |
Model#id x100000 | 0.967 | | |
Model.new (instantiation) x10000 | 0.324 | | |
Model.new (setting attributes) x10000 | 0.892 | | |
Model.first x10000 | 4.504 | | |
Model.all limit(100) x1000 | 11.838 | | |
Model.all limit(100) with relationship x1000 | 27.571 | | |
Model.all limit(10,000) x10 | 14.680 | | |
Model.create x10000 | 30.832 | | |
Resource#attributes= x10000 | 1.249 | | |
Resource#update x10000 | 13.479 | | |
Resource#destroy x10000 | 25.457 | | |
Model.transaction x10000 | 2.522 | | |
Model.find(id) x10000 | 4.864 | | |
Model.find_by_sql x10000 | 1.554 | | |
Model.log x100000 | 1.944 | | |
AR.execute(query) x5000 | 8.590 | | |
================================================================== | |
Total | 151.265 | | |
miloops/identity_map | |
| AR | | |
------------------------------------------------------------------ | |
Model#id x100000 | 0.982 | | |
Model.new (instantiation) x10000 | 0.330 | | |
Model.new (setting attributes) x10000 | 0.934 | | |
Model.first x10000 | 4.420 | | |
Model.all limit(100) x1000 | 13.085 | | |
Model.all limit(100) with relationship x1000 | 16.465 | | |
Model.all limit(10,000) x10 | 14.804 | | |
Model.create x10000 | 28.563 | | |
Resource#attributes= x10000 | 1.258 | | |
Resource#update x10000 | 10.829 | | |
Resource#destroy x10000 | 26.199 | | |
Model.transaction x10000 | 2.355 | | |
Model.find(id) x10000 | 5.172 | | |
Model.find_by_sql x10000 | 1.428 | | |
Model.log x100000 | 2.104 | | |
AR.execute(query) x5000 | 8.810 | | |
================================================================== | |
Total | 137.737 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment