Benchmarking GHC

Bulat Ziganshin bulat.ziganshin at
Thu Oct 19 13:10:11 EDT 2006

Hello Simon,

Thursday, October 19, 2006, 6:40:54 PM, you wrote:

> These days -O2, which invokes the SpecConstr pass, can have a big
> effect, but only on some programs.

it also enables -optc-O2. so, answering Neil's question:

-O2 -funbox-strict-fields

(sidenote to SPJ: -funbox-simple-strict-fields may be a good way to
_safe_ optimization)

RTS -A10m option may be helpful (even with 6.6), so you may allow to
run program two times - with and without this option - and select the
best run

btw, writing this message i thought that
-fconvert-strings-to-ByteStrings option will give a significant boost
to many programs without rewriting them :)

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Glasgow-haskell-users mailing list