[Haskell-cafe] Getting the profile results for GHC when running in Cabal.

Artem Pelenitsyn a.pelenitsyn at gmail.com
Sat Apr 25 14:02:32 UTC 2020

Hey Sean,

You may find this recent discussion on ghc-devs relevant:


Admittedly, it doesn't seem to answer your particular question. But it
might make you consider other ways to check performance.

Best, Artem

On Sat, Apr 25, 2020, 6:18 AM Sean Parsons <haskellcafe at futurenotfound.com>

> Hi there.
> I've built a GHC with profiling enabled as guided by the wiki and that
> works fine standalone. I found the option for specifying a certain GHC
> to Cabal. But I'm a little baffled as to how to get the results of the
> GHC profile when building a library with Cabal.
> My goal is to try to get a baseline profile, then have a poke at the
> innards of GHC and then see if whatever I've changed has made an
> improvement to the build speed.
> Does anyone have any idea what the best way to do that is?
> Thanks,
> Sean.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20200425/13bd8487/attachment.html>

More information about the Haskell-Cafe mailing list