Created
August 31, 2009 08:39
-
-
Save gfx/178357 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a result of http://gist.github.com/171785 | |
Perl/5.10.1 in i686-linux | |
Moose/0.89 (Class::MOP/0.92) | |
Mouse/0.27 | |
Class::XSAccessor/1.03 | |
MoosePlain: Inline | |
MooseXS: XS | |
GETTING for simple attributes | |
Rate Mouse Moose/Plain Moose/XS C::XSAccessor | |
Mouse 771011/s -- -6% -58% -63% | |
Moose/Plain 819199/s 6% -- -55% -60% | |
Moose/XS 1816839/s 136% 122% -- -12% | |
C::XSAccessor 2066450/s 168% 152% 14% -- | |
SETTING for simple attributes | |
Rate Moose/Plain Mouse C::XSAccessor Moose/XS | |
Moose/Plain 655360/s -- -17% -62% -66% | |
Mouse 785983/s 20% -- -54% -59% | |
C::XSAccessor 1714961/s 162% 118% -- -11% | |
Moose/XS 1927529/s 194% 145% 12% -- | |
GETTING for lazy attributes (except for C::XSAccessor) | |
Rate Moose/Plain Moose/XS C::XSAccessor | |
Moose/Plain 546133/s -- -68% -69% | |
Moose/XS 1694836/s 210% -- -3% | |
C::XSAccessor 1747627/s 220% 3% -- | |
SETTING for attributes with type constraints (except for C::XSAccessor) | |
Rate Moose/Plain C::XSAccessor Moose/XS | |
Moose/Plain 481881/s -- -71% -72% | |
C::XSAccessor 1683494/s 249% -- -2% | |
Moose/XS 1720320/s 257% 2% -- | |
Class definition | |
Rate Moose/Plain Moose/XS Mouse | |
Moose/Plain 12.7/s -- -38% -69% | |
Moose/XS 20.5/s 62% -- -51% | |
Mouse 41.7/s 228% 103% -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment