Obtained by Mandrakacards blog [here](http://makandracards.com/makandra/20541-measure-code-execution-time-in-an-irb-or-rails-console). Using the Rails's `Benchmark` module. Define method: ```ruby def time(&block) puts Benchmark.measure(&block) end ``` Then simply ```ruby time{Article.where('title like ?','Hello')} ```