Re: pants ponie performace

[email protected] (Leopold Toetsch) Mon, 10 May 2004 20:29:36 +0200
Newsgroups perl.perl6.internals,perl.ponie.dev
Message-ID <[email protected]>
Nicholas Clark <[email protected]> wrote:

> Reasonable time being:

> perl5.9.1 compiled with the same options as ponie uses, and -DPURIFY to force
> similar malloc() behaviour runs all regression tests:

Parrot built optimized? (perl Configure.pl --optimize ...)

> so about half the speed. Currently ponie has 2 additional big overheads that
> perl doesn't

That's not too bad, when I see ...

> 1: it's also allocating a PMC for every scalar, registering it at creation,
>    de-registering it when the reference count hits zero, and causing parrot
>    to make GC runs that will find no garbage

two hash lookpus per variable create/destruction pair. But Parrot
hopefully will find garbage from all your temp vars hopefully and
recycle these...

> As the code gets re-factored both these will go.

Good.

> Nicholas Clark

leo