[Haskell-cafe] Vedr: To my boss: The code is cool, but it is about 100 times slower than the old one...

Fixie Fixie fixie.fixie at rocketmail.com
Thu Nov 29 22:23:27 CET 2012


That's really an argument for upgrading to 7.4.2 :-)

Another reason for doing things with haskell is this mailing list.

Thanks!

Felix


________________________________
 Fra: Johan Tibell <johan.tibell at gmail.com>
Til: Fixie Fixie <fixie.fixie at rocketmail.com> 
Kopi: Haskell cafe <haskell-cafe at haskell.org> 
Sendt: Torsdag, 29. november 2012 22.06
Emne: Re: [Haskell-cafe] To my boss: The code is cool, but it is about 100 times slower than the old one...
 
On Thu, Nov 29, 2012 at 1:00 PM, Fixie Fixie <fixie.fixie at rocketmail.com> wrote:
> The program seems to take around 6 seconds on my linux-box, while the c
> version goes for 0.06 sekcond.
>
> That is really some regression bug :-)
>
> Anyone with a more recent version thatn 7.4.1?

On 7.4.2:

$ time ./c_test
...

real    0m0.145s
user    0m0.040s
sys    0m0.003s

$ time ./Test
...

real    0m0.234s
user    0m0.220s
sys    0m0.006s

Both compiled with -O2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121129/3793cc8b/attachment.htm>


More information about the Haskell-Cafe mailing list