A little bit more detail:
Parrot 0.3.0
ps 1803 root 300 S time ./parrot examples/benchmarks/primes2.pasm 1804 root 4476 R ./parrot examples/benchmarks/primes2.pasm 1805 root 4476 S ./parrot examples/benchmarks/primes2.pasm 1806 root 4476 S ./parrot examples/benchmarks/primes2.pasm 1807 root 4476 S ./parrot examples/benchmarks/primes2.pasm
root@tinypxa263:/var/tmp/parrot-0.3.0# time ./parrot examples/benchmarks/primes2.pasm N primes calculated to 5000 is 670 last is: 4999 57.10user 33.41system 1:31.05elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+0minor)pagefaults 0swaps
ps 1817 root 300 S time perl examples/benchmarks/primes2.pl 1818 root 1672 R perl examples/benchmarks/primes2.pl
root@tinypxa263:/var/tmp/parrot-0.3.0# time perl examples/benchmarks/primes2.pl N primes calculated to 5000 is 670 last is: 4999 76.65user 109.20system 3:06.27elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+0minor)pagefaults 0swaps
root@tinypxa263:/var/tmp/parrot-0.3.0/examples/benchmarks# gcc primes2.c -o primes2 time root@tinypxa263:/var/tmp/parrot-0.3.0/examples/benchmarks# time primes2 N primes calculated to 10000 is 1230 last is: 9973 13.53user 0.03system 0:13.57elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+0minor)pagefaults 0swaps
Re:bad polly! no cookie!
koobla on 2005-10-13T07:51:24
well - as I stated beforehand, the tests are preliminary to get a first impression anyway.
For what we will try (oo framework for gui programming) I will have to set up a more elaborate test case anyway. What I am looking for is the performance when the instruction and data caches start to overflow (at 32kb each, this should happen rather soon). Then I will have real performance data:)
btw, the numbers in the "ps" shows the sizes: 4.7M for parrot, 1.6M for perl.