Bencher-ScenarioBundle-Accessors
view release on metacpan or search on metacpan
lib/Bencher/Scenario/Accessors/GeneratorStartup.pm view on Meta::CPAN
The above result formatted in L<Benchmark.pm|Benchmark> style:
Rate Moose Mojo::Base Moops Mouse Moos Object::Pad Moo Class::InsideOut Object::Tiny::XS Object::Simple Class::Struct Class::XSAccessor::Array Object::Tiny::RW::XS Class::Tiny Class::XSAccessor...
Moose 7.1/s -- -19% -57% -81% -85% -86% -87% -87% -87% -88% -89% -89% -89% -90% -90%...
Mojo::Base 8.8/s 23% -- -47% -76% -82% -82% -84% -84% -84% -85% -87% -87% -87% -87% -87%...
Moops 16.9/s 137% 91% -- -54% -66% -66% -69% -70% -71% -72% -75% -75% -75% -76% -76%...
Mouse 37.6/s 426% 324% 121% -- -24% -26% -32% -33% -36% -39% -45% -45% -46% -47% -47%...
Moos 50.0/s 600% 465% 195% 33% -- -1% -9% -11% -15% -19% -27% -28% -29% -30% -30%...
Object::Pad 51.0/s 614% 476% 201% 35% 2% -- -8% -9% -13% -18% -25% -26% -27% -28% -28%...
Moo 55.6/s 677% 527% 227% 47% 11% 8% -- -1% -5% -11% -18% -19% -21% -22% -22%...
Class::InsideOut 56.5/s 690% 538% 233% 50% 12% 10% 1% -- -3% -9% -17% -18% -19% -20% -20%...
Object::Tiny::XS 58.8/s 723% 564% 247% 56% 17% 15% 5% 4% -- -5% -14% -15% -16% -17% -17%...
Object::Simple 62.5/s 775% 606% 268% 66% 25% 22% 12% 10% 6% -- -8% -9% -11% -12% -12%...
Class::Struct 68.5/s 858% 673% 304% 82% 36% 34% 23% 21% 16% 9% -- -1% -2% -4% -4%...
Class::XSAccessor::Array 69.4/s 872% 684% 309% 84% 38% 36% 25% 22% 18% 11% 1% -- -1% -2% -2%...
Object::Tiny::RW::XS 70.4/s 885% 695% 315% 87% 40% 38% 26% 24% 19% 12% 2% 1% -- -1% -1%...
Class::Tiny 71.4/s 900% 707% 321% 90% 42% 40% 28% 26% 21% 14% 4% 2% 1% -- 0%...
Class::XSAccessor 71.4/s 900% 707% 321% 90% 42% 40% 28% 26% 21% 14% 4% 2% 1% 0% --...
Class::Accessor 71.4/s 900% 707% 321% 90% 42% 40% 28% 26% 21% 14% 4% 2% 1% 0% 0%...
Simple::Accessor 90.9/s 1172% 927% 436% 141% 81% 78% 63% 60% 54% 45% 32% 30% 29% 27% 27%...
Mojo::Base::XS 91.7/s 1184% 936% 441% 144% 83% 79% 65% 62% 55% 46% 33% 32% 30% 28% 28%...
Class::Accessor::PackedString 107.0/s 1397% 1108% 531% 184% 113% 109% 92% 89% 81% 71% 56% 54% 51% 49% 49%...
Mo 107.5/s 1405% 1115% 534% 186% 115% 110% 93% 90% 82% 72% 56% 54% 52% 50% 50%...
perl -e1 (baseline) 125.0/s 1650% 1312% 637% 232% 150% 145% 125% 121% 112% 100% 82% 80% 77% 75% 75%...
Object::Tiny::RW 129.4/s 1711% 1361% 663% 244% 158% 153% 132% 128% 119% 106% 88% 86% 83% 81% 81%...
Object::Tiny 130.2/s 1722% 1371% 668% 246% 160% 155% 134% 130% 121% 108% 90% 87% 84% 82% 82%...
Class::Accessor::PackedString::Set 133.9/s 1774% 1412% 689% 256% 167% 162% 140% 136% 127% 114% 95% 92% 90% 87% 87%...
Class::Accessor::Array 135.9/s 1802% 1435% 701% 261% 171% 166% 144% 140% 130% 117% 98% 95% 92% 90% 90%...
Legends:
Class::Accessor: mod_overhead_time=6 participant=Class::Accessor
Class::Accessor::Array: mod_overhead_time=-0.64 participant=Class::Accessor::Array
Class::Accessor::PackedString: mod_overhead_time=1.35 participant=Class::Accessor::PackedString
Class::Accessor::PackedString::Set: mod_overhead_time=-0.53 participant=Class::Accessor::PackedString::Set
Class::InsideOut: mod_overhead_time=9.7 participant=Class::InsideOut
Class::Struct: mod_overhead_time=6.6 participant=Class::Struct
Class::Tiny: mod_overhead_time=6 participant=Class::Tiny
Class::XSAccessor: mod_overhead_time=6 participant=Class::XSAccessor
Class::XSAccessor::Array: mod_overhead_time=6.4 participant=Class::XSAccessor::Array
Mo: mod_overhead_time=1.3 participant=Mo
Mojo::Base: mod_overhead_time=105 participant=Mojo::Base
Mojo::Base::XS: mod_overhead_time=2.9 participant=Mojo::Base::XS
Moo: mod_overhead_time=10 participant=Moo
Moops: mod_overhead_time=51 participant=Moops
Moos: mod_overhead_time=12 participant=Moos
Moose: mod_overhead_time=132 participant=Moose
Mouse: mod_overhead_time=18.6 participant=Mouse
Object::Pad: mod_overhead_time=11.6 participant=Object::Pad
Object::Simple: mod_overhead_time=8 participant=Object::Simple
Object::Tiny: mod_overhead_time=-0.32 participant=Object::Tiny
Object::Tiny::RW: mod_overhead_time=-0.27 participant=Object::Tiny::RW
Object::Tiny::RW::XS: mod_overhead_time=6.2 participant=Object::Tiny::RW::XS
Object::Tiny::XS: mod_overhead_time=9 participant=Object::Tiny::XS
Simple::Accessor: mod_overhead_time=3 participant=Simple::Accessor
perl -e1 (baseline): mod_overhead_time=0 participant=perl -e1 (baseline)
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.910 second using v1.01-cache-2.11-cpan-5a3173703d6 )