[Haskell-cafe] GHC profiling overhead

Kolář Dušan kolar at fit.vutbr.cz
Tue Feb 25 17:18:50 UTC 2020


Dear Café,

I'm quite curious about overhead of the profiler...
I've compiled my program with --make -threaded -rtsopts -O2 -prof 
options.
It was started with +RTS -N5 -p

Usually, the program evaluates like 6-7 hours of real time. What is the 
overhead of the profiling? After 8 hours of working, the program has not 
finished yet. I've looked over the Internet and it seems like the 
overhead may be 25 times slowdown and even worse. Is it true? If yes, 
it's not worth waiting then :-)

Best regards,
Dusan


More information about the Haskell-Cafe mailing list