4 ms·
Does anyone have any good tools or processes for generating the kind of performance counters and information needed by this tool with a running python applicati
by jsmeaton 9y ago
Does anyone have any good tools or processes for generating the kind of performance counters and information needed by this tool with a running python application?
I'd love to be able to generate a flamegraph for a django app, for example, and visualise it with flame scope.
https://mail.python.org/pipermail/python-dev/2014-November/136981.html https://mail.python.org/pipermail/python-dev/2014-November/1... discusses the problems with python and the `perf` tool. There may have been some patches applied recently to help, but it doesn't look like there was a full resolution.
- gnufx 9y agoNot a direct answer, but there's Python support of some sort available for at least TAU <https://www.cs.uoregon.edu/research/tau/home.php> https://www.cs.uoregon.edu/research/tau/home.php>, Extrae <https://tools.bsc.es/extrae> https://tools.bsc.es/extrae>, and Score-P <https://github.com/score-p/scorep_binding_python> https://github.com/score-p/scorep_binding_python>.
- akx 9y agoI wrote https://github.com/akx/abyss https://github.com/akx/abyss for Django once upon a time. I'm not sure it works these days, but you could give it a shot.