Created
January 21, 2009 18:36
-
-
Save solnic/50094 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
| AR 2.2.2 | DM 0.10.0 | DIFF | | |
----------------------------------------------------------------------------------------- | |
Model#id x100000 | 1.184 | 0.441 | 2.68x | | |
Model.new (instantiation) x10000 | 0.411 | 0.024 | 16.91x | | |
Model.new (setting attributes) x10000 | 1.098 | 0.597 | 1.84x | | |
Model.get specific (not cached) x10000 | 5.675 | 6.248 | 0.91x | | |
Model.get specific (cached) x10000 | 5.753 | 0.274 | 20.99x | | |
Model.first x10000 | 4.857 | 4.698 | 1.03x | | |
Model.all limit(100) x1000 | 11.598 | 9.329 | 1.24x | | |
Model.all limit(100) with relationship x1000 | 24.752 | 68.050 | 0.36x | | |
Model.all limit(10,000) x10 | 12.434 | 9.642 | 1.29x | | |
Model.create x10000 | 27.858 | 12.390 | 2.25x | | |
Resource#attributes= x10000 | 1.755 | 1.218 | 1.44x | | |
Resource#update x10000 | 12.092 | 14.261 | 0.85x | | |
Resource#destroy x10000 | 36.662 | 13.720 | 2.67x | | |
Model.transaction x10000 | 3.330 | 16.201 | 0.21x | | |
========================================================================================= | |
Total | 149.459 | 157.093 | 3.91x | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment