Bencher-Scenario-ExceptionHandling
view release on metacpan or search on metacpan
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
lib/Bencher/Scenario/ExceptionHandling.pm
lib/Bencher/ScenarioR/ExceptionHandling.pm
share/images/bencher-result-1.png
share/images/bencher-result-2.png
share/images/bencher-result-3.png
t/00-compile.t
t/author-critic.t
t/author-pod-coverage.t
t/author-pod-syntax.t
weaver.ini
Legends:
T:T: participant=Try::Tiny
b: participant=builtin-try
e: participant=eval-localize-die-signal-and-eval-error
n: participant=naive-eval
The above result presented as chart:
#IMAGE:
share/images/bencher-result-1.png|/tmp/VHOUgvh_oa/bencher-result-1.png
Result formatted as table (split, part 2 of 2):
#table2#
{dataset=>"empty try, empty catch"}
+-----------------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| participant | rate (/s) | time (üs) | pct_faster_vs_slowest | pct_slower_vs_fastest | errors | samples |
+-----------------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| Try::Tiny | 397000 | 2.52 | 0.00% | 6147.90% | 5.8e-10 | 8 |
| eval-localize-die-signal-and-eval-error | 1700000 | 0.59 | 328.63% | 1357.65% | 6.5e-10 | 7 |
Legends:
T:T: participant=Try::Tiny
b: participant=builtin-try
e: participant=eval-localize-die-signal-and-eval-error
n: participant=naive-eval
The above result presented as chart:
#IMAGE:
share/images/bencher-result-2.png|/tmp/VHOUgvh_oa/bencher-result-2.png
Sample benchmark #2
Benchmark command (benchmarking module startup overhead):
% bencher -m ExceptionHandling --module-startup
Result formatted as table:
#table3#
+---------------------+-----------+-------------------+-----------------------+-----------------------+---------+---------+
T:T 71.4/s -- -60%
perl -e1 (baseline) 178.6/s 150% --
Legends:
T:T: mod_overhead_time=8.4 participant=Try::Tiny
perl -e1 (baseline): mod_overhead_time=0 participant=perl -e1 (baseline)
The above result presented as chart:
#IMAGE:
share/images/bencher-result-3.png|/tmp/VHOUgvh_oa/bencher-result-3.png
To display as an interactive HTML table on a browser, you can add option
"--format html+datatables".
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/Bencher-Scenario-ExceptionHandling>.
SOURCE
Source repository is at
lib/Bencher/Scenario/ExceptionHandling.pm view on Meta::CPAN
n 2170000/s 602% 117% 30% --
Legends:
T:T: participant=Try::Tiny
b: participant=builtin-try
e: participant=eval-localize-die-signal-and-eval-error
n: participant=naive-eval
The above result presented as chart:
#IMAGE: share/images/bencher-result-1.png|/tmp/VHOUgvh_oa/bencher-result-1.png
Result formatted as table (split, part 2 of 2):
#table2#
{dataset=>"empty try, empty catch"}
+-----------------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| participant | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest | errors | samples |
+-----------------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| Try::Tiny | 397000 | 2.52 | 0.00% | 6147.90% | 5.8e-10 | 8 |
| eval-localize-die-signal-and-eval-error | 1700000 | 0.59 | 328.63% | 1357.65% | 6.5e-10 | 7 |
lib/Bencher/Scenario/ExceptionHandling.pm view on Meta::CPAN
n 25000000/s 6200% 1374% 200% --
Legends:
T:T: participant=Try::Tiny
b: participant=builtin-try
e: participant=eval-localize-die-signal-and-eval-error
n: participant=naive-eval
The above result presented as chart:
#IMAGE: share/images/bencher-result-2.png|/tmp/VHOUgvh_oa/bencher-result-2.png
=head2 Sample benchmark #2
Benchmark command (benchmarking module startup overhead):
% bencher -m ExceptionHandling --module-startup
Result formatted as table:
lib/Bencher/Scenario/ExceptionHandling.pm view on Meta::CPAN
Rate T:T perl -e1 (baseline)
T:T 71.4/s -- -60%
perl -e1 (baseline) 178.6/s 150% --
Legends:
T:T: mod_overhead_time=8.4 participant=Try::Tiny
perl -e1 (baseline): mod_overhead_time=0 participant=perl -e1 (baseline)
The above result presented as chart:
#IMAGE: share/images/bencher-result-3.png|/tmp/VHOUgvh_oa/bencher-result-3.png
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-Scenario-ExceptionHandling>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-Bencher-Scenario-ExceptionHandling>.
( run in 0.817 second using v1.01-cache-2.11-cpan-df04353d9ac )