++ed by:
AERO ANDREFS AWNCORP AZAWAWI BEROV

14 PAUSE user(s)
10 non-PAUSE user(s).

Toby Inkster

PURPOSE

The following test case benchmarks performance between Moops and the more established MooseX::Declare by defining equilavent classes using each.

The benchmarked code includes object construction and destruction, accessor calls, method calls and type constraint checks.

Typical results (run on a fairly underpowered netbook) are:

                Rate   MXD Moops
        MXD   8.82/s    --  -98%
        Moops  389/s 4307%    --

If MooseX::XSAccessor is available, Moops becomes yet faster:

                Rate   MXD Moops
        MXD   8.65/s    --  -98%
        Moops  449/s 5084%    --

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2013 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.




Hosting generously
sponsored by Bytemark