On 07/04/2011 16:37, Edward Z. Yang wrote:
I've been working on new optimization passes for Hoopl to get
the code back to the quality of the old code generator.
With the new optimization pass, the binaries in the test suite
are, on average, 7% larger than the old code generator.

Here are the worst offenders, with T3294 clocking in with a whopping
112% increase in size.

     %change oldsize delta  filename
     -----------------------------------------------------
     0.3233   6224   2012 ./deSugar/should_compile/ds036.o
     0.3235   2068    669 ./ffi/should_compile/cc005.o
     0.3333  11616   3872 ./arrows/should_compile/arrowcase1.o
     0.3371  35228  11876 ./typecheck/should_compile/tc095.o
     0.3374 111300  37556 ./indexed-types/should_compile/T3787.o
     0.3394   2684    911 ./ffi/should_run/ffi002.o
     0.3443   2916   1004 ./simplCore/should_compile/simpl016.o
     0.3581   3664   1312 ./haddock/should_compile_flag_haddock/haddockA033.o
     0.4439   7948   3528 ./gadt/red-black.o
     0.4791 209128 100200 ./deSugar/should_run/dsrun023.o
     0.5381   1548    833 ./driver/B027/F.o
     0.5822   1520    885 ./driver/F016.o
     0.5822   1520    885 ./driver/F034.o
     0.5822   1520    885 ./driver/obj018/TestStub018.o
     0.5822   1520    885 ./driver/out019/TestStub019.o
     0.6001   1488    893 ./driver/B044/F.o
     0.6111   1476    902 ./ffi/should_compile/cc012.o
     0.7677   3512   2696 ./ffi/should_compile/cc013.o
     1.1209 700884 785632 ./perf/compiler/T3294.o

I am planning on doing similar tests on nofib.

This is great. The results are not encouraging, but at least you can easily find good candidates to investigate. Don't start with T3294 - look at the really small modules first.

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to