[Dbix-class] Class::C3 0.17 / Class::C3::XS 0.03

Brandon Black blblack at gmail.com
Tue May 8 15:27:02 GMT 2007


These are out on CPAN now, or you can beat your local mirror to the
punch and fetch from:

http://www.dtmf.com/Class-C3-XS-0.03.tar.gz
http://www.dtmf.com/Class-C3-0.17.tar.gz

These have Build.PL removed from the dist since Adam reported the
Debian/Module::Build issue.

Several people have reported the startup-time benchmarks for big
DBIx::Class Schemas, showing that perl5.9.5 is faster than perl5.8.8 +
Class::C3::XS is faster than perl5.8.8 + plain Class::C3.

Here's a pasted benchmark I did of next::method vs NEXT vs SUPER in
those three environments, to show runtime performance improvements
that would affect DBIC in a long-running process:

http://scsys.co.uk:8001/7694

If you don't want to read all of that, the gist is that:

NEXT runs at about 3% of SUPER's speed
plain Class::C3 runs at about 17% of SUPER's speed
Class::C3::XS runs at about 64% of SUPER's speed
Class::C3+perl5.9.5 runs at about 98% of SUPER's speed

-- Brandon



More information about the Dbix-class mailing list