I’ve built some fairly complex controllers and I’d like to profile them.
What’s the best way to go about this? I suspect the profiling script
shipped
with Rails doesn’t work well with controllers. I looked at railsbench,
but
it doesn’t work well because the controllers use acts_as_authenticated.
Then when you run that action in your browser, it’ll write a file into
log/profiler.log that contains a profile for the controller part of
that action.
Quick and dirty, but maybe it’ll do the job (or inspire you to write
something nicer!).
Chris
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.