Feature request: provide file download of performance profile
When enabling profiling it would be nice to have a link where on could download the cProfile file to run it through another visualiser such as runsnake http://www.vrplumber.com/programming/runsnakerun/
I've hacked a piece of code that dumps this to a temp file ( self.profiler.dump_stats(filename)) and shows the temp filename on the page.
This seems like it would be a nice feature.
This is now easily doable thanks to https://github.com/Pylons/pyramid_debugtoolbar/pull/291
requires debugtoolbar 4.0
pypi: pyramid_debugtoolbar_api_performance github source: https://github.com/jvanasco/pyramid_debugtoolbar_api_performance
Just FYI if someone worked on https://github.com/Pylons/pyramid_debugtoolbar/issues/294 these extra addons @jvanasco is making could simply be buttons injected into the current panel via some javascript and they would work on an ajax call instead of being entire panels.