Popularity
9.2
Stable
Activity
0.0
Stable
73
23
12

Monthly Downloads: 30
Programming language: Haskell
License: MIT License
Tags: Testing    

ghc-prof-flamegraph alternatives and similar packages

Based on the "Testing" category.
Alternatively, view ghc-prof-flamegraph alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ghc-prof-flamegraph or a related project?

Add another 'Testing' Package

README

ghc-prof-flamegraph

Build Status

This is a small tool to convert GHC time profiling reports into a format understandable by the FlameGraph tool.

Install

cabal install

Usage

First convert a .prof file into the flame graph svg:

$ cat ~/src/packdeps/packdeps.prof | ghc-prof-flamegraph > packdeps.prof.svg

Or, alternatively, just pass the .prof file as an argument. The tool will then create corresponing .svg file:

$ ghc-prof-flamegraph ~/src/packdeps/packdeps.prof
Output written to ~/src/packdeps/packdeps.svg

The previous command will produce ~/src/packdeps/packdeps.svg file.

You can customize the behavior of the underlying flamegraph.pl by passing options via –framegraph-option. For example, you can customize the title:

$ ghc-prof-flamegraph ~/src/packdeps/packdeps.prof '--flamegraph-option=--title=Package dependencies'
Output written to ~/src/packdeps/packdeps.svg

You can also generate a flamegraph using the allocation measurements, using the --alloc flag.