Bencher-Scenarios-Accessors

 view release on metacpan or  search on metacpan

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

  Class::Accessor::PackedString          2000000/s                                 50%                     14%           0%                             --               0%                0%    -25%        -50%              -50%         -50%          ...
  Class::Accessor                        3000000/s                                 50%                     14%           0%                             0%               --                0%    -25%        -50%              -50%         -50%          ...
  Class::InsideOut                       3000000/s                                 50%                     14%           0%                             0%               0%                --    -25%        -50%              -50%         -50%          ...
  Mo                                     3000000/s                                100%                     53%          33%                            33%              33%               33%      --        -33%              -33%         -33%          ...
  Mojo::Base                             4000000/s                                200%                    129%         100%                           100%             100%              100%     50%          --                0%           0%          ...
  Simple::Accessor                       4000000/s                                200%                    129%         100%                           100%             100%              100%     50%          0%                --           0%          ...
  Class::Tiny                            5000000/s                                200%                    129%         100%                           100%             100%              100%     50%          0%                0%           --          ...
  no generator (hash-based)              5000000/s                                200%                    129%         100%                           100%             100%              100%     50%          0%                0%           0%          ...
  no generator (array-based)             6000000/s                                200%                    129%         100%                           100%             100%              100%     50%          0%                0%           0%          ...
  Object::Simple                         6000000/s                                200%                    129%         100%                           100%             100%              100%     50%          0%                0%           0%          ...
  Class::Struct                          6000000/s                                252%                    170%         135%                           135%             135%              135%     76%         17%               17%          17%          ...
  Object::Tiny::RW                       7000000/s                                500%                    359%         300%                           300%             300%              300%    200%        100%              100%         100%          ...
  Moose                                  8000000/s                                500%                    359%         300%                           300%             300%              300%    200%        100%              100%         100%          ...
  Object::Tiny::XS                       8000000/s                                500%                    359%         300%                           300%             300%              300%    200%        100%              100%         100%          ...
  Mojo::Base::XS                         9000000/s                                500%                    359%         300%                           300%             300%              300%    200%        100%              100%         100%          ...
  Moops                                  9000000/s                                500%                    359%         300%                           300%             300%              300%    200%        100%              100%         100%          ...
  Moos                                  10000000/s                                500%                    359%         300%                           300%             300%              300%    200%        100%              100%         100%          ...
  Object::Tiny                          11000000/s                                538%                    389%         325%                           325%             325%              325%    219%        112%              112%         112%          ...
  raw hash access                       10000000/s                                566%                    411%         344%                           344%             344%              344%    233%        122%              122%         122%          ...
  Mouse                                 12000000/s                                640%                    467%         393%                           393%             393%              393%    270%        146%              146%         146%          ...
  Moo                                   16000000/s                                852%                    630%         534%                           534%             534%              534%    376%        217%              217%         217%          ...
  Object::Tiny::RW::XS                  20000000/s                                900%                    666%         566%                           566%             566%              566%    400%        233%              233%         233%          ...
  Class::XSAccessor                     20000000/s                               1400%                   1050%         900%                           900%             900%              900%    650%        400%              400%         400%          ...
  Class::XSAccessor::Array              40000000/s                               2900%                   2200%        1900%                          1900%            1900%             1900%   1400%        900%              900%         900%          ...
  raw array access                    -200000000/s                             -12100%                  -9300%       -8100%                         -8100%           -8100%            -8100%  -6100%      -4100%            -4100%       -4100%          ...
 
 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)
   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-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 4.709 seconds using v1.01-cache-2.11-cpan-5e09290becf )