scalene icon indicating copy to clipboard operation
scalene copied to clipboard

potential enhancement: incorporate flame graphs as in py-spy

Open emeryberger opened this issue 5 years ago • 3 comments

https://github.com/brendangregg/FlameGraph

emeryberger avatar Feb 18 '20 17:02 emeryberger

if scalene generates the appropriate data format, the output can just be dropped into the speedscope web app

https://github.com/jlfwong/speedscope

belm0 avatar May 26 '21 05:05 belm0

I was just about to create this same feature request pointing to the same link. Brendan is pretty awesome. An alternative to speedscope is another child of brendan's:

https://github.com/Netflix/flamescope https://netflixtechblog.com/netflix-flamescope-a57ca19d47bb

jdonnelly-apixio avatar Jun 09 '21 22:06 jdonnelly-apixio

Note that Scalene doesn't generate stack traces but this would be a straightforward extension, and we'd be very likely to merge a PR that provided this functionality, e.g., via a --flamegraph option.

emeryberger avatar Jun 09 '21 23:06 emeryberger