I just grabbed 0.17 and am seeing a 4x speed up over 0.15:

Using Moose version 0.15, Class::MOP version 0.36, Class::Accessor version 0.27 Benchmark: timing 1000 iterations of ClassAccessorPage, ClassMetaPage, MoosePage... MoosePage: 20 wallclock secs (18.54 usr + 0.35 sys = 18.89 CPU) @ 52.94/s (n=1000)

Using Moose version 0.17, Class::MOP version 0.36, Class::Accessor version 0.27 Benchmark: timing 1000 iterations of ClassAccessorPage, ClassMetaPage, MoosePage... MoosePage: 5 wallclock secs ( 4.24 usr + 0.09 sys = 4.33 CPU) @ 230.95/s (n=1000)

Still too slow (5 ms per object creation), but getting better! Thanks,

Jon

On Nov 14, 2006, at 12:38 PM, Stevan Little wrote:

Jonathan,

I just uploaded Moose 0.16 to CPAN (you can get it here https:// pause.perl.org/incoming/Moose-0.16.tar.gz) it has a few very simple improvements to the way it handles the BUILD and DEMOLISH methods, and people are seeing almost a 2x performance boost. Please download it and give it a try against your benchmark, and let me know what you see.

Thanks,

- Steve


Reply via email to