Acme-CPANModules-HTMLTable
view release on metacpan or search on metacpan
NAME
Acme::CPANModules::HTMLTable - List of modules that generate HTML tables
VERSION
This document describes version 0.002 of Acme::CPANModules::HTMLTable
(from Perl distribution Acme-CPANModules-HTMLTable), released on
2023-10-29.
SYNOPSIS
To run benchmark with default option:
% bencher --cpanmodules-module HTMLTable
To run module startup overhead benchmark:
% bencher --module-startup --cpanmodules-module HTMLTable
For more options (dump scenario, list/include/exclude/add participants,
list/include/exclude/add datasets, etc), see bencher or run "bencher
--help".
ACME::CPANMODULES ENTRIES
Text::Table::Any
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
This is a common frontend for many text table modules as backends,
Text::Table::HTML being one.
Text::Table::HTML
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
Text::Table::HTML::DataTables
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
Text::Table::Manifold
Author: RSAVAGE <https://metacpan.org/author/RSAVAGE>
BENCHMARKED MODULES
Version numbers shown below are the versions used when running the
sample benchmark.
Text::Table::Any 0.115
Text::Table::HTML 0.010
Text::Table::HTML::DataTables 0.012
Text::Table::Manifold 1.03
BENCHMARK PARTICIPANTS
* Text::Table::Any (perl_code)
Text::Table::Any
* Text::Table::HTML (perl_code)
Text::Table::HTML
* Text::Table::HTML::DataTables (perl_code)
Text::Table::HTML::DataTables
* Text::Table::Manifold (perl_code)
Text::Table::Manifold
BENCHMARK DATASETS
* tiny (1x1)
* small (3x5)
* wide (30x5)
* long (3x300)
* large (30x300)
BENCHMARK SAMPLE RESULTS
Sample benchmark #1
Run on: perl: *v5.38.0*, CPU: *Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
(2 cores)*, OS: *GNU/Linux Ubuntu version 20.04*, OS kernel: *Linux
version 5.4.0-164-generic*.
Benchmark command (default options):
% bencher --cpanmodules-module HTMLTable
Result formatted as table (split, part 1 of 5):
#table1#
{dataset=>"large (30x300)"}
+-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| participant | rate (/s) | time (ms) | pct_faster_vs_slowest | pct_slower_vs_fastest | errors | samples |
+-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| Text::Table::Manifold | 15.8 | 63.3 | 0.00% | 636.27% | 4.9e-05 | 21 |
| Text::Table::HTML | 68 | 15 | 328.81% | 71.70% | 1.9e-05 | 21 |
| Text::Table::Any | 68.3 | 14.7 | 331.76% | 70.53% | 1.2e-05 | 20 |
| Text::Table::HTML::DataTables | 116 | 8.59 | 636.27% | 0.00% | 4.6e-06 | 20 |
+-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
The above result formatted in Benchmark.pm style:
Rate TT:M TT:H TT:A TTH:D
TT:M 15.8/s -- -76% -76% -86%
TT:H 68/s 322% -- -2% -42%
TT:A 68.3/s 330% 2% -- -41%
TTH:D 116/s 636% 74% 71% --
Legends:
TT:A: participant=Text::Table::Any
TT:H: participant=Text::Table::HTML
TT:M: participant=Text::Table::Manifold
TTH:D: participant=Text::Table::HTML::DataTables
Result formatted as table (split, part 2 of 5):
#table2#
{dataset=>"long (3x300)"}
+-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| participant | rate (/s) | time (ms) | pct_faster_vs_slowest | pct_slower_vs_fastest | errors | samples |
+-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
| Text::Table::Manifold | 129 | 7.73 | 0.00% | 598.03% | 6.3e-06 | 21 |
| Text::Table::HTML | 620 | 1.6 | 378.42% | 45.90% | 1.8e-06 | 20 |
| Text::Table::Any | 625 | 1.6 | 383.35% | 44.41% | 5.8e-07 | 20 |
| Text::Table::HTML::DataTables | 903 | 1.11 | 598.03% | 0.00% | 2.7e-07 | 23 |
+-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+
The above result formatted in Benchmark.pm style:
Rate TT:M TT:H TT:A TTH:D
TT:M 129/s -- -79% -79% -85%
TT:H 620/s 383% -- 0% -30%
TT:A 625/s 383% 0% -- -30%
TTH:D 903/s 596% 44% 44% --
Legends:
TT:A: participant=Text::Table::Any
TT:H: participant=Text::Table::HTML
TT:M: participant=Text::Table::Manifold
TTH:D: participant=Text::Table::HTML::DataTables
Result formatted as table (split, part 3 of 5):
#table3#
( run in 0.445 second using v1.01-cache-2.11-cpan-d7f47b0818f )