Bencher-Scenarios-Accessors

 view release on metacpan or  search on metacpan

lib/Bencher/Scenario/Accessors/Construction.pm  view on Meta::CPAN

  Class::InsideOut                     444000/s   144%                --         -46%              -56%   -56%                           -71%           -72%  -73%         -73%   -73%  -74%   -79%                    -84%                        -86%   ...
  Class::Tiny                          800000/s   358%               87%           --              -17%   -18%                           -47%           -48%  -49%         -49%   -50%  -51%   -60%                    -70%                        -74%   ...
  Simple::Accessor                    1011600/s   456%              127%          21%                --     0%                           -35%           -37%  -38%         -38%   -39%  -41%   -52%                    -63%                        -68%   ...
  Moose                               1000000/s   461%              129%          22%                0%     --                           -35%           -36%  -38%         -38%   -38%  -40%   -52%                    -63%                        -68%   ...
  Class::Accessor::PackedString       1578600/s   768%              255%          89%               56%    54%                             --            -2%   -4%          -4%    -5%   -8%   -25%                    -43%                        -51%   ...
  Class::Struct                       1600000/s   787%              262%          93%               59%    58%                             2%             --   -2%          -2%    -3%   -6%   -24%                    -42%                        -50%   ...
  Mo                                  1650400/s   807%              271%          98%               63%    61%                             4%             2%    --           0%     0%   -4%   -22%                    -41%                        -49%   ...
  Object::Pad                         1660000/s   810%              272%          98%               63%    62%                             4%             2%    0%           --     0%   -3%   -22%                    -41%                        -49%   ...
  Moops                               1700000/s   816%              275%         100%               64%    63%                             5%             3%    0%           0%     --   -3%   -21%                    -40%                        -48%   ...
  Moo                                 1700000/s   848%              287%         106%               70%    68%                             9%             6%    4%           4%     3%    --   -18%                    -38%                        -46%   ...
  Mouse                               2100000/s  1070%              378%         155%              110%   108%                            34%            31%   28%          28%    27%   23%     --                    -24%                        -34%   ...
  Class::Accessor::Array              2810000/s  1445%              532%         237%              177%   175%                            77%            74%   70%          69%    68%   62%    32%                      --                        -13%   ...
  no generator (array-based)          3250000/s  1685%              630%         289%              220%   218%                           105%           101%   96%          96%    94%   88%    52%                     15%                          --   ...
  Mojo::Base                          3800000/s  2015%              765%         361%              280%   276%                           143%           138%  133%         132%   130%  123%    80%                     36%                         18%   ...
  Object::Simple                      3868000/s  2026%              770%         364%              282%   278%                           144%           139%  134%         133%   132%  124%    81%                     37%                         19%   ...
  no generator (hash-based)           3989000/s  2093%              797%         378%              294%   290%                           152%           147%  141%         140%   139%  131%    87%                     41%                         22%   ...
  Object::Tiny::RW                    4086000/s  2147%              819%         390%              303%   300%                           158%           153%  147%         146%   145%  137%    92%                     45%                         25%   ...
  Object::Tiny                        4090000/s  2154%              822%         391%              305%   301%                           159%           154%  148%         147%   145%  137%    92%                     45%                         26%   ...
  Class::Accessor::PackedString::Set  4119000/s  2165%              826%         394%              307%   303%                           160%           155%  149%         148%   147%  138%    93%                     46%                         26%   ...
  no generator (scalar-based)         4200000/s  2191%              837%         400%              311%   308%                           163%           158%  152%         151%   150%  141%    95%                     48%                         28%   ...
  Class::Accessor                     4792000/s  2535%              978%         474%              373%   369%                           203%           197%  190%         189%   187%  177%   125%                     70%                         47%   ...
  Object::Tiny::RW::XS                6700000/s  3566%             1400%         700%              559%   553%                           322%           313%  303%         302%   300%  286%   213%                    137%                        105%   ...
  Object::Tiny::XS                    6800000/s  3566%             1400%         700%              559%   553%                           322%           313%  303%         302%   300%  286%   213%                    137%                        105%   ...
  Mojo::Base::XS                      6800000/s  3566%             1400%         700%              559%   553%                           322%           313%  303%         302%   300%  286%   213%                    137%                        105%   ...
  Class::XSAccessor                   6840000/s  3667%             1441%         721%              577%   571%                           333%           324%  315%         313%   310%  297%   221%                    143%                        110%   ...
  Class::XSAccessor::Array            7400000/s  3828%             1507%         757%              606%   599%                           352%           342%  332%         331%   328%  314%   235%                    154%                        119%   ...
 
 Legends:
   Class::Accessor: participant=Class::Accessor
   Class::Accessor::Array: participant=Class::Accessor::Array
   Class::Accessor::PackedString: participant=Class::Accessor::PackedString
   Class::Accessor::PackedString::Set: participant=Class::Accessor::PackedString::Set
   Class::InsideOut: participant=Class::InsideOut
   Class::Struct: participant=Class::Struct
   Class::Tiny: participant=Class::Tiny
   Class::XSAccessor: participant=Class::XSAccessor
   Class::XSAccessor::Array: participant=Class::XSAccessor::Array
   Mo: participant=Mo
   Mojo::Base: participant=Mojo::Base
   Mojo::Base::XS: participant=Mojo::Base::XS
   Moo: participant=Moo
   Moops: participant=Moops
   Moos: participant=Moos
   Moose: participant=Moose
   Mouse: participant=Mouse
   Object::Pad: participant=Object::Pad
   Object::Simple: participant=Object::Simple
   Object::Tiny: participant=Object::Tiny
   Object::Tiny::RW: participant=Object::Tiny::RW
   Object::Tiny::RW::XS: participant=Object::Tiny::RW::XS
   Object::Tiny::XS: participant=Object::Tiny::XS
   Simple::Accessor: participant=Simple::Accessor
   no generator (array-based): participant=no generator (array-based)
   no generator (hash-based): participant=no generator (hash-based)
   no generator (scalar-based): participant=no generator (scalar-based)

The above result presented as chart:

=begin html

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAH4CAMAAABUnipoAAAJJmlDQ1BpY2MAAEiJlZVnUJNZF8fv8zzphUASQodQQ5EqJYCUEFoo0quoQOidUEVsiLgCK4qINEWQRQEXXJUia0UUC4uCAhZ0gywCyrpxFVFBWXDfGZ33HT+8/5l7z2/+c+bec8/5cAEgiINlwct7YlK6wNvJjhkYFMwE3yiMn5...

=end html


To display as an interactive HTML table on a browser, you can add option C<--format html+datatables>.

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/Bencher-Scenarios-Accessors>.

=head1 SOURCE

Source repository is at L<https://github.com/perlancar/perl-Bencher-Scenarios-Accessors>.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Bencher-Scenarios-Accessors>

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.

=head1 SEE ALSO

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2021, 2017, 2016 by perlancar@cpan.org.

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

=cut



( run in 1.768 second using v1.01-cache-2.11-cpan-54e63673c56 )