Evan Hempel
Evan Hempel
So far its design is targeted toward profiling an entire application. You could run it against the entire WSGI app, but you'll probably find time waiting for a request would...
@andybak I've added code to allow filtering: `python -m flamegraph -f function_name mywebapp-start.py` should now work for profiling just the functions of interest. Let me know if this satisfies your...
@cjgu I saw you made a few commits for prototype decorator support. How did that work? It seems like a useful feature. I have a concern with the code I...
Strange. With an interval of 0.001s and a function runtime of 500ms if the profiling code had no overhead and the threads ran perfectly in parallel then we'd expect 500...
FYI, I stumbled across a python flamegraph project aimed Django, which maybe you'll find useful: https://github.com/23andme/djdt-flamegraph I did notice that its using a different method to capture stack frames (signal...
Absolutely. Sounds like a great addition.
This profiler should profile functions inside imported python modules. If you can give me an example where it isn't doing this I'll be happy to investigate.
It looks like you're on to something, it looks like my approach is unable to sample stackframes inside native c modules. This module should work ok on pure python, but...
Take a look at Aaron Solowski's version: https://github.com/asokoloski/python-flamegraph He's added support using signal.setitimer that will profile inside of c modules. The downside is you lose thread information, but depending on...
No, haven't been working in python recently. Pull requests would be considered. Have you checked out Aaron Solowski's version (linked in Jul 21 comment)?