title: Rails: Benchmarking rails ActiveRecord Queries
body: <p>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</p>
  
  <pre><code>User.find_by_name("Joe").id
  </code></pre>
  
  <p>versus</p>
  
  <pre><code>User.find(:first, :select =&gt; :id, :conditions =&gt; ["name = ?","Joe"]).id
  </code></pre>
  
  <p>Thanks</p>