I'd a short look at perlbench from CPAN. This inspired me to the following idea:

examples/benchmarks/* has a bunch of programs e.g.
  oo1.pasm
  oo1.pl
  oo1.py
  stress.pasm
  stress.pl
  ...

Now like perlbench is able to compare run times of different perl versions, the goal of this task is to provide a script that compares different interpreters and finally spits out:

         Parrot-j Parrot-C   Perl    Python   Ruby
oo1      100%        103%     75%       50%     -
mops     100%        200%  40000%
stress   ...                             -      -

or some such.

To simplify the task, we could of course move used tests into a separate directory. Unavailable interpreters (or missing scripts for that language) are just skipped.

Any takers?

leo



Reply via email to