[Haskell-cafe] GHC vs GCC vs JHC
ndmitchell at gmail.com
Sat Mar 27 06:25:04 EDT 2010
Any chance of seeing the benchmark? You're not the only one with an
optimising compiler tucked away somewhere :-)
I have one "benchmark" where I outperform GHC by 21 times, although
saying it's artificial is a bit of an understatement...
On Fri, Mar 26, 2010 at 6:27 PM, John Meacham <john at repetae.net> wrote:
> Here are jhc's timings for the same programs on my machine. gcc and ghc
> both used -O3 and jhc had its full standard optimizations turned on.
> ./hs.out 5.12s user 0.07s system 96% cpu 5.380 total
> ./a.out 5.58s user 0.00s system 97% cpu 5.710 total
> ./try 31.11s user 0.00s system 96% cpu 32.200 total
> As you can see, jhc shines at this example, actually beating gcc -O3. It
> isn't too surprising, this is exactly the sort of haskell code that jhc
> excels at.
> John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe