KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm looking to benchmark a couple of my ActiveRecord requests in my app. What's the simplest way in the console to benchmark something like User.find_by_name("Joe").id versus User.find(:first, :select => :id, :conditions => ["name = ?","Joe"]).id Thanks
Tags (comma-separated)
Save Edits
Cancel