Profiling options aren't working with gloss, even though gloss was installed with library profiling enabled in ~/.cabal/config
,
Example: Test.hs
import Graphics.Gloss
main = display (InWindow "test" (800, 600) (200, 200)) black blank
Compiling and running:
$ ghc Test.hs
[1 of 1] Compiling Test ( Test.hs, Test.o )
Linking Test ...
$ ./Test +RTS -s
I then close the window with window's x button, but there isn't any gc output.
If I change Test.hs to main = print "test"
and repeat the steps, it outputs some garbage collection related info, which is what should be happening.