views:

119

answers:

2

Hi,

is there a profiling gem/plugin for Ruby on Rails?

That is, where I can then specify the point in a request I want to act as milestones points for a time to be taken, and place them stategically. Then ideally the plugin then works out and displays how the overall response time was made up...

Tks

A: 

There's a new Ruby on Rails web-server in the block, which includes a pretty smart profiler inbuilt. You may like it...

intellidiot
+1  A: 

Could you try ruby-prof? Basically start and stop the profiler around the parts you are interested in, and the profiler breaks it all down for you. Some example output can be found here.

Clinton