I have a big view, which takes very long to finish to render the content. How is the best method to profile, which part of the view is taking the most time ? I have read about ruby-prof, but I'm not sure, where to put in it, to profile the view rendering. If other options exists, I want to know them too.
The easiest way to quickly get to bottleneck is using NewRelics Developer mode which works locally.
ruby-prof
and newrelic_rpm
in your Gemfile.localhost:3000/newrelic
and start profiling (in the right bar)Disclaimer: I've pushed this sorting feature to newrelic's developer mode, so I am biased. However try if for yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With