3 ms·
flamegraph.pl is a fairly common sight. It would also likely be better (more readable and maintainable) and faster written in something else (did a partial Pyt
by masklinn 8y ago
flamegraph.pl is a fairly common sight.
It would also likely be better (more readable and maintainable) and faster written in something else (did a partial Python port to understand what kind of munging the script actually did, the Python version was 50% faster, and a bit shorter though the latter may have been because I didn't test/check all features and some of the edge cases may have been missing in the non-default options).
- IshKebab 8y agopprof has a flamegraph and I'm fairly certain it isn't written in Perl. Yep it is JavaScript: https://github.com/google/pprof/blob/master/third_party/d3flamegraph/d3_flame_graph.go https://github.com/google/pprof/blob/master/third_party/d3fl...