Flamegraph for ghc .prof with Nix

Sub-cards (0)Archived
Comments (1)
Reply

For a file FILENAME.prof, run this:

nix-shell -p flamegraph -p haskellPackages.ghc-prof-flamegraph --run "ghc-prof-flamegraph FILENAME.prof"

This will produce FILENAME.svg with the flame graph.

Profile picture

Oh cool, I didn’t know ghc-prof-flamegraph existed