Bencher-ScenarioBundle-Accessors

 view release on metacpan or  search on metacpan

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

                                            Rate  Simple::Accessor  Class::Accessor::PackedString::Set  Class::Accessor::PackedString  Class::Accessor  Class::InsideOut  Object::Pad  Object::Tiny::RW  Moose  Class::Struct  Class::Accessor::Array  Moj...
  Simple::Accessor                      718000/s                --                                -49%                           -63%             -65%              -73%         -81%              -82%   -82%           -83%                    -84%     ...
  Class::Accessor::PackedString::Set   1430000/s               98%                                  --                           -26%             -31%              -46%         -62%              -64%   -64%           -67%                    -69%     ...
  Class::Accessor::PackedString        1950000/s              170%                                 35%                             --              -6%              -27%         -49%              -51%   -51%           -56%                    -57%     ...
  Class::Accessor                      2080000/s              189%                                 45%                             6%               --              -22%         -45%              -48%   -48%           -52%                    -55%     ...
  Class::InsideOut                     2680000/s              273%                                 87%                            38%              29%                --         -29%              -32%   -33%           -39%                    -41%     ...
  Object::Pad                          3830000/s              432%                                167%                            96%              84%               42%           --               -4%    -4%           -13%                    -17%     ...
  Object::Tiny::RW                     4100000/s              455%                                179%                           105%              92%               48%           4%                --     0%            -9%                    -13%     ...
  Moose                                4040000/s              460%                                181%                           107%              93%               50%           5%                0%     --            -8%                    -12%     ...
  Class::Struct                        4430000/s              515%                                209%                           127%             112%               64%          15%               10%     9%             --                     -4%     ...
  Class::Accessor::Array               4640000/s              543%                                223%                           137%             122%               72%          20%               15%    14%             4%                      --     ...
  Mojo::Base                           4910000/s              581%                                242%                           151%             135%               82%          27%               22%    21%            10%                      5%     ...
  Object::Simple                       5150000/s              616%                                260%                           164%             147%               91%          34%               28%    27%            16%                     11%     ...
  no generator (hash-based)            5280000/s              635%                                269%                           171%             154%               96%          38%               32%    31%            19%                     14%     ...
  Class::Tiny                          5360000/s              647%                                275%                           176%             158%              100%          40%               34%    33%            21%                     16%     ...
  Mo                                   5370000/s              647%                                275%                           176%             158%              100%          40%               34%    33%            21%                     16%     ...
  no generator (array-based)           5980000/s              732%                                318%                           207%             187%              122%          56%               49%    48%            35%                     29%     ...
  Mouse                                9210000/s             1175%                                541%                           371%             341%              241%         139%              129%   127%           107%                     98%     ...
  Object::Tiny::RW::XS                11000000/s             1378%                                643%                           446%             411%              295%         177%              165%   163%           140%                    129%     ...
  Moos                                10700000/s             1381%                                645%                           447%             412%              296%         178%              166%   164%           140%                    130%     ...
  Moops                               11100000/s             1437%                                673%                           468%             431%              311%         188%              176%   174%           150%                    138%     ...
  Mojo::Base::XS                      11300000/s             1472%                                690%                           481%             443%              320%         195%              182%   180%           155%                    144%     ...
  Class::XSAccessor                   11000000/s             1479%                                694%                           484%             446%              322%         196%              184%   181%           156%                    145%     ...
  Moo                                 11000000/s             1479%                                694%                           484%             446%              322%         196%              184%   181%           156%                    145%     ...
  Class::XSAccessor::Array            13000000/s             1753%                                832%                           585%             541%              396%         248%              233%   230%           201%                    188%     ...
  raw hash access                     17000000/s             2216%                               1065%                           756%             701%              520%         334%              316%   313%           276%                    260%     ...
  raw array access                    21000000/s             2857%                               1387%                           993%             922%              691%         455%              431%   427%           380%                    359%     ...
 
 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::RW: participant=Object::Tiny::RW
   Object::Tiny::RW::XS: participant=Object::Tiny::RW::XS
   Simple::Accessor: participant=Simple::Accessor
   no generator (array-based): participant=no generator (array-based)
   no generator (hash-based): participant=no generator (hash-based)
   raw array access: participant=raw array access
   raw hash access: participant=raw hash access

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-ScenarioBundle-Accessors>.

=head1 SOURCE

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

=head1 SEE ALSO

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1 CONTRIBUTING


To contribute, you can send patches by email/via RT, or send pull requests on
GitHub.

Most of the time, you don't need to build the distribution yourself. You can
simply modify the code, then test via:

 % prove -l

If you want to build the distribution (e.g. to try to install it locally on your
system), you can install L<Dist::Zilla>,
L<Dist::Zilla::PluginBundle::Author::PERLANCAR>,
L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other
Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond
that are considered a bug and can be reported to me.

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2024, 2017, 2016 by perlancar <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.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Bencher-ScenarioBundle-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.

=cut



( run in 0.431 second using v1.01-cache-2.11-cpan-e1769b4cff6 )