Commits

Toby Inkster committed faafac1

update benchmark results

Comments (0)

Files changed (4)

examples/benchmark-coercions.pl

 For both Moose and Moo, L<Type::Tiny> type constraints are clearly faster
 than the conventional approach:
 
-               Rate Moo_MXTML    Moo_TT     Moose  Moose_TT
-   Moo_MXTML 3412/s        --      -33%      -49%      -60%
-   Moo_TT    5119/s       50%        --      -23%      -39%
-   Moose     6636/s       94%       30%        --      -21%
-   Moose_TT  8452/s      148%       65%       27%        --
+             Rate Moo_MXTML    Moo_TT     Moose  Moose_TT
+ Moo_MXTML 3381/s        --      -39%      -45%      -63%
+ Moo_TT    5582/s       65%        --      -10%      -39%
+ Moose     6194/s       83%       11%        --      -33%
+ Moose_TT  9225/s      173%       65%       49%        --
 
-(Tested versions: Type::Tiny 0.003_16, Moose 2.0604, Moo 1.002000, and
-MooX::Types::MooseLike 0.16.)
+(Tested versions: Type::Tiny 0.042, Moose 2.1107, Moo 1.004001, and
+MooX::Types::MooseLike 0.23.)
 
 =head1 DEPENDENCIES
 
 
 =head1 COPYRIGHT AND LICENCE
 
-This software is copyright (c) 2013 by Toby Inkster.
+This software is copyright (c) 2013-2014 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.

examples/benchmark-constraints.pl

 In all cases, L<Type::Tiny> type constraints are clearly faster
 than the conventional approach:
 
-             Rate Moo_MXTML     Mouse     Moose    Moo_TT  Mouse_TT  Moose_TT
- Moo_MXTML 2999/s        --      -32%      -52%      -56%      -68%      -69%
- Mouse     4436/s       48%        --      -29%      -34%      -52%      -54%
- Moose     6279/s      109%       42%        --       -7%      -33%      -35%
- Moo_TT    6762/s      125%       52%        8%        --      -27%      -30%
- Mouse_TT  9309/s      210%      110%       48%       38%        --       -4%
- Moose_TT  9686/s      223%      118%       54%       43%        4%        --
+             Rate Moo_MXTML     Mouse     Moose    Moo_TT  Moose_TT  Mouse_TT
+ Moo_MXTML 2947/s        --      -29%      -50%      -51%      -67%      -68%
+ Mouse     4177/s       42%        --      -29%      -31%      -54%      -55%
+ Moose     5910/s      101%       41%        --       -3%      -35%      -36%
+ Moo_TT    6074/s      106%       45%        3%        --      -33%      -34%
+ Moose_TT  9050/s      207%      117%       53%       49%        --       -2%
+ Mouse_TT  9221/s      213%      121%       56%       52%        2%        --
 
-(Tested versions: Type::Tiny 0.005_06, Moose 2.0604, Moo 1.002000,
-MooX::Types::MooseLike 0.16, and Mouse 1.11)
+(Tested versions: Type::Tiny 0.042, Moose 2.1107, Moo 1.004001,
+MooX::Types::MooseLike 0.23, and Mouse 2.1.0)
 
 =head1 DEPENDENCIES
 
 
 =head1 COPYRIGHT AND LICENCE
 
-This software is copyright (c) 2013 by Toby Inkster.
+This software is copyright (c) 2013-2014 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.

examples/benchmark-param-validation.pl

 });
 
 __END__
-           Rate   [D:V]   [P:V]   [P:C] [T:P v] [T:P c]
-[D:V]    9983/s      --    -16%    -39%    -41%    -71%
-[P:V]   11898/s     19%      --    -27%    -29%    -65%
-[P:C]   16259/s     63%     37%      --     -3%    -52%
-[T:P v] 16797/s     68%     41%      3%      --    -51%
-[T:P c] 34032/s    241%    186%    109%    103%      --
+           Rate   [D:V]   [P:V] [T:P v]   [P:C] [T:P c]
+[D:V]   10006/s      --    -26%    -38%    -39%    -68%
+[P:V]   13567/s     36%      --    -15%    -17%    -57%
+[T:P v] 16012/s     60%     18%      --     -2%    -49%
+[P:C]   16384/s     64%     21%      2%      --    -48%
+[T:P c] 31220/s    212%    130%     95%     91%      --
 
 ----
 
                          Rate ParamsValidateSimple     TypeParamsSimple
-ParamsValidateSimple  74972/s                   --                 -63%
-TypeParamsSimple     204193/s                 172%                   --
+ParamsValidateSimple  91317/s                   --                 -60%
+TypeParamsSimple     229049/s                 151%                   --

meta/changes.pret

 	changeset [
 		dcs:versus `Type-Tiny 0.041_04 cpan:TOBYINK`;
 		item "List currently unstable/experimental parts of the distribution in Type::Tiny::Manual::Policies."^^Documentation;
+		item "Include more recent results in benchmarking example scripts."^^Documentation;
 	].