Carp/scripts/haskell-flamegraph.sh

8 lines
208 B
Bash
Raw Permalink Normal View History

2020-11-14 17:28:17 +03:00
#! /usr/bin/env sh
2020-05-13 01:21:31 +03:00
# Usage:
#
# ./haskell-flamegraph <carp options>
2020-11-09 13:47:15 +03:00
BUILD_OPTS="--enable-profiling --enable-library-profiling" ./scripts/carp.sh $* +RTS -p -hc
2020-05-13 01:21:31 +03:00
ghc-prof-flamegraph carp.prof
xdg-open carp.svg