Building GHC for performance testing
Simon Marlow
marlowsd at gmail.com
Sat Mar 8 10:20:16 UTC 2014
On 08/03/14 07:54, Herbert Valerio Riedel wrote:
> Hi Simon,
>
> On 2014-03-08 at 08:18:20 +0100, Simon Marlow wrote:
>> On 06/03/14 09:50, Johan Tibell wrote:
>
> [...]
>
>>> * Are there any tweaks to mk/build.mk <http://build.mk> we can do to
>>> make the build faster without compromising the results?
>>
>> Turn down the stage2 optimisation, and turn off the docs:
>>
>> GhcStage2HcOpts = -O
>
> ...but doesn't that compromise the compile-time metrics collected by
> nofib about GHC's performance?
I think Johan is interested primarily in runtime performance, but yes if
you care about compile time then it's better to leave GhcStage2HcOpts at
the default.
Cheers,
Simon
More information about the ghc-devs
mailing list