Roger Browne wrote:
With Parrot 0.4.0, no optimizations, default runcore, Ack(3, 9) takes
233 seconds of CPU time. With "-C" this reduces to 205 seconds. I
haven't tried an optimized Parrot build (so many things to do, so little
time...).
On the same machine, Python 2.4.1 computes Ack(3, 9) in 12 seconds, and
SmartEiffel computes it in something under 0.05 second.
I've now checked in ack.pir and ack.py into examples/benchmarks. And
I've timed Ack(3, 9) with an optimized Parrot build:
Python 13.7
Parrot -j 15.3
Parrot -C 13.8
We are at python speed for function call speed currently.
This is a AMD X2 3800+ running at 2000 Mhz. It's BTW not easy to run
benchmarks on that machine, the first few timings where 23-26 secs,
obviously PowerNow had reduced cpu freq to ~50%.
Regards,
Roger Browne
leo