Leopold Toetsch <[EMAIL PROTECTED]> wrote:

[ another MMD performance compare ]

Just an update. Last benchmark still called MMD via the vtable. Here is
now a compare of calling MMD from the run loop:

$ parrot -C mmd-bench.imc
vtbl add  PerlInt PerlInt 1.072931
vtbl add  PerlInt Integer 1.085116
MMD  bxor PerlInt PerlInt 0.849723
MMD  bxor PerlInt Integer 0.989387

$ parrot -j mmd-bench.imc
vtbl add  PerlInt PerlInt 0.685505
vtbl add  PerlInt Integer 0.692237
MMD  bxor PerlInt PerlInt 0.628078
MMD  bxor PerlInt Integer 0.790955

JITed vtable add calls directly into the vtable, while the MMD <bxor> is
still a function that calls mmd_dispatch.

Compiled with -O3, 5 Meg operations on Athlon 800.

leo

Reply via email to