How to profile redmine page render by flamegraph?

Added by Jethro Yu about 1 year ago

Hi i just learned there are good tools for profiling ruby on rails:

https://github.com/MiniProfiler/rack-mini-profiler
https://github.com/SamSaffron/flamegraph

However when i try to enable the flamegraph report by ?pp=flamegraph, nothing happened on redmine page. My guess is that some routing rule of redmine eating up the GET parameter.

If someone knows how to do it, or is interesting in it, please leave a comment here, thnaks!