Getting the profile results for GHC when running in Cabal.

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.

Hey Sean,
You may find this recent discussion on ghc-devs relevant:
https://mail.haskell.org/pipermail/ghc-devs/2020-April/018763.html
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
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.
participants (2)
-
Artem Pelenitsyn
-
Sean Parsons