Added profiling with ruby-prof
Merge branch 'profiling'