Stas Bekman <[EMAIL PROTECTED]> writes:

> Hmm, I wonder about this para from that file:
> 
> ---
> In terms of performance, on my test system (Solaris 2.5_x86) the perl
> test suite took roughly 15% longer to run with the shared libperl.so.
> Your system and typical applications may well give quite different
> results.

I also found 15% slowdown with perlbench on Linux.

> The whole point of using shared libs is that if there are more than
> one app using the same library it gets loaded only once. I don't know
> who wrote the claim above, but have you tried doing perl -le 'sleep
> 1000 while 1' in another window (of course using the same perl) and
> then start the test suite? This way libperl.so will be constantly
> loaded and won't cause the loading overhead.

The slowdown is not in the loading.  The core perl code runs slower
because it is compiled with -fpic to make it position independent when
you enable 'useshrplib'.

Regards,
Gisle

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to