<div>Hi,</div><br><div>Is there a way to profile (time/space) GHC compilation itself, I'd be interested in what compilation steps in compiling my project take long and how much RAM it uses/why it uses so much RAM, so I can identify what to rewrite, remove, and split to get a leaner build.</div><br><div>Thanks,</div><div>Martin</div><br><div>PS.: I hope this is the right place to ask this.</div><br><div><signature id="initial"><table cellpadding="0" cellspacing="0"><tbody><tr><td style="vertical-align:top"></td><td><div style="font-size:0.9em;min-width:200px;max-width:400px;margin-top:4px;padding-top:4px"><div><div></div><div></div></div></div></td></tr></tbody></table></signature></div>