Bencher-Scenario-PerlPhase
view release on metacpan or search on metacpan
lib/Bencher/Scenario/PerlPhase.pm view on Meta::CPAN
+------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| Perl::Phase::is_compile_time | 4090000 | 245 | 0.00% | 172.03% | 1.1e-10 | 20 |
| Perl::Phase::is_run_time | 4600000 | 220 | 11.62% | 143.71% | 3.1e-10 | 20 |
| GLOBAL_PHASE-run_time | 10500000 | 94.9 | 157.68% | 5.57% | 5.5e-11 | 21 |
| GLOBAL_PHASE-compile_time | 11000000 | 90 | 172.03% | 0.00% | 2.1e-10 | 20 |
+------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
=begin html
<img src="https://st.aticpan.org/source/PERLANCAR/Bencher-Scenario-PerlPhase-0.001/share/images/bencher-result-1.png" />
=end html
To display as an interactive HTML table on a browser, you can add option C<--format html+datatables>.
=head1 BENCHMARK NOTES
L<Perl::Phase> claims to be much faster than checking C<${^GLOBAL_PHASE}>,
because it's a numeric vs string comparison. This benchmark doesn't seem to show
( run in 0.939 second using v1.01-cache-2.11-cpan-744e820c463 )