GHC benchmarks

Christian Maeder Christian.Maeder at
Thu Oct 11 09:28:17 EDT 2007

Ketil Malde wrote:
> Hi,
> I've recently implemented some benchmarks for my library, and while I
> expected a slowdown for 64-bit code, I'm a bit bit surprised by the
> results.  In summary: 
>   with 64 bit ghc 6.6.1, my benchmark runs in ~160 seconds
>   with 32 bit ghc 6.6, it runs in             ~ 95 seconds

here are my results (with reversed ghc versions) when running your code:

   with 64 bit ghc 6.6     254 secs
   with 32 bit ghc 6.6.1   146 secs

Having noticed that the 64 bit ghc-6.6 is slower, I decided to install
the 32 bit ghc-6.6.1 only.

Cheers Christian

my test machine:

Dual Core AMD Opteron 2220Server

Linux pollux
x86_64 GNU/Linux

More information about the Glasgow-haskell-users mailing list