Is there any up to date advice on how to profile Haskell with Cabal?

No matter how I build my executable, I get "the flag -p requires the program to be built with -prof"

@cyrridven I used

cabal v2-run --enable-profiling my-exe -- +RTS -p

and that worked.

(GHC version 8.10.7, cabal version 3.6.2.0)

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!