baverman / flameprof

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

Speedscope support #14

Open arunoruto opened 5 months ago

arunoruto commented 5 months ago

While I do love the feature to export the data as an SVG file, a more interactive way would be to load the data into speedscope. I would love to build a small parser, which parses a cProfile dump into a speedscope json file following its schema.

Could you maybe explain me what parts in the code are mainly doing the parsing so I could implement it myself?