[Bug 196836] perl-5.8.8-5 is 30X slower than perl-5.8.8-4

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 19 23:07:30 UTC 2007

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: perl-5.8.8-5 is 30X slower than perl-5.8.8-4


bugzilla at redhat.com changed:

           What    |Removed                     |Added
           Priority|normal                      |medium
            Product|Fedora Core                 |Fedora

buribullet at gmail.com changed:

           What    |Removed                     |Added
                 CC|                            |buribullet at gmail.com

------- Additional Comments From buribullet at gmail.com  2007-06-19 19:07 EST -------
perl-5.8.8-10 is 1000X slower! 
(It seems like O(2^n) slowdown where n is number of onmemory SV)
Please rethink. It can kill real apps. (Or Fedora/RedHat is not for Perl?)

# Here is simple benchmark, borrowed and modified from
# http://blog.yappo.jp/yappo/archives/000515.html

use Benchmark;
timethese(shift || 100000, {
'overload' => sub { push our @array, TestOverload->new },
'not overload' => sub { push our @array, TestNoverload->new },

package TestNoverload;
sub new { bless { hoge => 'hoge' }, shift }

package TestOverload;
use overload (
q{""} => sub {},
sub new { bless { hoge => 'hoge' }, shift }

Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the Fedora-perl-devel-list mailing list