baverman / flameprof

Flamegraph generator for cProfile stats
MIT License
237 stars 15 forks source link

svg is not interactive #8

Open dragonly opened 4 years ago

dragonly commented 4 years ago

small bars are invisible, and cannot be seen even zoomed in.

notpushkin commented 3 years ago

Try running it through flamegraph.pl, as in the last example in the README:

flameprof --format=log requests.prof | flamegraph > requests-flamegraph.svg

This results in an interactive chart with click-to-zoom capabilities, like this one.

con-f-use commented 1 year ago

Btw. if you want something interactive, try snakeviz.

MFShams commented 1 year ago

The graph was not interactive when I used the my Linux image viewer. However, I ran the same file in Edge browser and it became interactive (I tested this on a Windows operating system)

notpushkin commented 1 year ago

@MFShams Yep, image viewers generally don't evaluate JS which in this case is required for interactivity. Any browser should be okay though.