
hello cafe-istas -- for those of you who are into these things, a lot of the shootout programs are suffering from "make errors" and thus do not have benchmarks. http://shootout.alioth.debian.org/u64q/haskell.php best, ben Begin forwarded message:
From: Don Stewart
Date: July 30, 2011 9:52:12 AM PDT To: Ben Cc: Don Bruce Stewart Subject: Re: shootout Best to bring this up on haskell-cafe@
On Sun, Jul 31, 2011 at 12:34 AM, Ben
wrote: FYI, a lot of the haskell programs on the shootout suffer from "make errors" and thus do not have benchmarks.
best, ben

Good Evening, can anybody confirm that this implementation is somewhat faster than the current benchmark (at expense of memory consumption)? Cheers, Thorsten On 30.07.2011 23:08, Ben wrote:
hello cafe-istas --
for those of you who are into these things, a lot of the shootout programs are suffering from "make errors" and thus do not have benchmarks.
http://shootout.alioth.debian.org/u64q/haskell.php
best, ben
Begin forwarded message:
From: Don Stewart
Date: July 30, 2011 9:52:12 AM PDT To: Ben Cc: Don Bruce Stewart Subject: Re: shootout Best to bring this up on haskell-cafe@
On Sun, Jul 31, 2011 at 12:34 AM, Ben
wrote: FYI, a lot of the haskell programs on the shootout suffer from "make errors" and thus do not have benchmarks.
best, ben
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Sun, 31 Jul 2011 02:27:07 +0200, Thorsten Hater
Good Evening,
can anybody confirm that this implementation is somewhat faster than the current benchmark (at expense of memory consumption)?
Cheers, Thorsten
Somewhat faster is an understatement I would say: $ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.0.3 $ ghc -O2 -threaded -rtsopts fasta-old.hs -XBangPatterns [1 of 1] Compiling Main ( fasta-old.hs, fasta-old.o ) Linking fasta-old ... $ ghc -O2 -threaded -rtsopts fasta-new.hs [1 of 1] Compiling Main ( fasta-new.hs, fasta-new.o ) Linking fasta-new ... $ time ./fasta-old +RTS -N2 -RTS 25000000 >| old real 0m21.173s user 0m18.380s sys 0m0.910s $ time ./fasta-new +RTS -N2 -RTS 25000000 >| new real 0m4.809s user 0m2.190s sys 0m0.730s $ diff -q old new $ $ time ./fasta-old +RTS -N1 -RTS 25000000 >| old real 0m19.069s user 0m16.670s sys 0m0.630s $ time ./fasta-new +RTS -N1 -RTS 25000000 >| new real 0m3.797s user 0m1.500s sys 0m0.600s $ diff -q old new $ This is on a dual-core Core 2 running at 2.1GHz. I'm honestly not sure why performance doesn't improve with two threads, but I think I've made the point. - Ben
participants (3)
-
Ben
-
Ben Gamari
-
Thorsten Hater