Trace Rails application called methods into a graph
I would like to generate a graph from a Rails application. Not about its database, but for every methods that are called after a web query (inside controllers, helpers, partials).
Just like this one (by @tenderlove)
Thi开发者_JAVA技巧s could help me a lot to detect loops and making optimizations.
Do you know a cool Ruby or Rails plugin for this? Thanks!
Edit: and this could be awesome, in order to solve a
stack level too deep
Use ruby-prof and a profiling data visualization tool like kcachegrind.
精彩评论