How to Benchmark my code in Ruby or Rails