Bencher-Scenario-CSVParsingModules
view release on metacpan or search on metacpan
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
lib/Bencher/Scenario/CSVParsingModules.pm
lib/Bencher/ScenarioR/CSVParsingModules.pm
share/images/bencher-result-1.png
share/images/bencher-result-2.png
share/images/bencher-result-3.png
share/images/bencher-result-4.png
share/images/bencher-result-5.png
t/00-compile.t
t/author-critic.t
t/author-pod-coverage.t
t/author-pod-syntax.t
weaver.ini
lib/Bencher/Scenario/CSVParsingModules.pm view on Meta::CPAN
Legends:
Text::CSV_PP: participant=Text::CSV_PP
Text::CSV_XS: participant=Text::CSV_XS
naive-split: participant=naive-split
The above result presented as chart:
=begin html
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAH4CAMAAABUnipoAAAJJmlDQ1BpY2MAAEiJlZVnUJNZF8fv8zzphUASQodQQ5EqJYCUEFoo0quoQOidUEVsiLgCK4qINEWQRQEXXJUia0UUC4uCAhZ0gywCyrpxFVFBWXDfGZ33HT+8/5l7z2/+c+bec8/5cAEgiINlwct7YlK6wNvJjhkYFMwE3yiMn5...
=end html
Result formatted as table (split, part 2 of 4):
#table2#
{dataset=>"bench-10x10.csv"}
| participant | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest | errors | samples |
|--------------+-----------+-----------+-----------------------+-----------------------+---------+---------|
lib/Bencher/Scenario/CSVParsingModules.pm view on Meta::CPAN
Legends:
Text::CSV_PP: participant=Text::CSV_PP
Text::CSV_XS: participant=Text::CSV_XS
naive-split: participant=naive-split
The above result presented as chart:
=begin html
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAH4CAMAAABUnipoAAAJJmlDQ1BpY2MAAEiJlZVnUJNZF8fv8zzphUASQodQQ5EqJYCUEFoo0quoQOidUEVsiLgCK4qINEWQRQEXXJUia0UUC4uCAhZ0gywCyrpxFVFBWXDfGZ33HT+8/5l7z2/+c+bec8/5cAEgiINlwct7YlK6wNvJjhkYFMwE3yiMn5...
=end html
Result formatted as table (split, part 3 of 4):
#table3#
{dataset=>"bench-1x1.csv"}
| participant | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest | errors | samples |
|--------------+-----------+-----------+-----------------------+-----------------------+---------+---------|
lib/Bencher/Scenario/CSVParsingModules.pm view on Meta::CPAN
Legends:
Text::CSV_PP: participant=Text::CSV_PP
Text::CSV_XS: participant=Text::CSV_XS
naive-split: participant=naive-split
The above result presented as chart:
=begin html
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAH4CAMAAABUnipoAAAJJmlDQ1BpY2MAAEiJlZVnUJNZF8fv8zzphUASQodQQ5EqJYCUEFoo0quoQOidUEVsiLgCK4qINEWQRQEXXJUia0UUC4uCAhZ0gywCyrpxFVFBWXDfGZ33HT+8/5l7z2/+c+bec8/5cAEgiINlwct7YlK6wNvJjhkYFMwE3yiMn5...
=end html
Result formatted as table (split, part 4 of 4):
#table4#
{dataset=>"bench-5x5.csv"}
| participant | rate (/s) | time (μs) | pct_faster_vs_slowest | pct_slower_vs_fastest | errors | samples |
|--------------+-----------+-----------+-----------------------+-----------------------+---------+---------|
lib/Bencher/Scenario/CSVParsingModules.pm view on Meta::CPAN
Legends:
Text::CSV_PP: participant=Text::CSV_PP
Text::CSV_XS: participant=Text::CSV_XS
naive-split: participant=naive-split
The above result presented as chart:
=begin html
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAH4CAMAAABUnipoAAAJJmlDQ1BpY2MAAEiJlZVnUJNZF8fv8zzphUASQodQQ5EqJYCUEFoo0quoQOidUEVsiLgCK4qINEWQRQEXXJUia0UUC4uCAhZ0gywCyrpxFVFBWXDfGZ33HT+8/5l7z2/+c+bec8/5cAEgiINlwct7YlK6wNvJjhkYFMwE3yiMn5...
=end html
=head2 Sample benchmark #2
Benchmark command (benchmarking module startup overhead):
% bencher -m CSVParsingModules --module-startup
lib/Bencher/Scenario/CSVParsingModules.pm view on Meta::CPAN
Legends:
T:C_P: mod_overhead_time=13.9 participant=Text::CSV_PP
T:C_X: mod_overhead_time=10.9 participant=Text::CSV_XS
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 CONTRIBUTOR
=for stopwords perlancar (on pc-office)
( run in 1.258 second using v1.01-cache-2.11-cpan-df04353d9ac )