Added profiling with ruby-prof