- Add
profiling: Trueto the cabal.project file ofhaskell-ide-engine cabal new-build hie- (IMPORTANT) Add
profiling: Trueto thecabal.projectfile of the project being opened by hie - Make a wrapper script somewhere which calls the
hieyou built in step 2 with+RTS -hc -l-au - Modify your editor settings to call this wrapper script instead of looking for
hieon the path - Try using
h-i-eas normal and then you can either send me the*.eventlogwhich was created or process it yourself usingeventlog2html
So +RTS -hc -l-au says, do cost centre profiling and create an eventlog which has the profiling samples in, my tool eventlog2html can turn that into a profile graph
and I have a branch which renders cost centre profiles in an even nicer way
Other modes which might be of interest, -hd