Carp/scripts/haskell-flamegraph.sh
2020-11-14 15:28:17 +01:00

8 lines
208 B
Bash
Executable File

#! /usr/bin/env sh
# Usage:
#
# ./haskell-flamegraph <carp options>
BUILD_OPTS="--enable-profiling --enable-library-profiling" ./scripts/carp.sh $* +RTS -p -hc
ghc-prof-flamegraph carp.prof
xdg-open carp.svg