Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: provide file download of performance profile #277

Open
arthurzenika opened this issue Dec 7, 2016 · 4 comments
Open

Feature request: provide file download of performance profile #277

arthurzenika opened this issue Dec 7, 2016 · 4 comments

Comments

@arthurzenika
Copy link

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.

@mmerickel
Copy link
Member

This seems like it would be a nice feature.

@jvanasco
Copy link
Contributor

jvanasco commented May 9, 2017

This is now easily doable thanks to #291

@jvanasco
Copy link
Contributor

requires debugtoolbar 4.0

pypi: pyramid_debugtoolbar_api_performance
github source: https://github.com/jvanasco/pyramid_debugtoolbar_api_performance

@mmerickel
Copy link
Member

Just FYI if someone worked on #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants