Acme-CPANModules-TextTable

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    Text::SimpleTable
        Author: MRAMBERG <https://metacpan.org/author/MRAMBERG>

        As its name implies, a simple table-generating module with minimal
        documentation and a few choices or border characters. You have to
        set the width of all columns manually.

    Text::UnicodeBox::Table
        Author: EWATERS <https://metacpan.org/author/EWATERS>

        The main feature of this module is the various border style it
        provides drawn using Unicode box-drawing characters. It allows
        per-row style. The rendering speed is particularly slow compared to
        other modules.

    Text::Table::Manifold
        Author: RSAVAGE <https://metacpan.org/author/RSAVAGE>

        Two main features of this module is per-column aligning and wide
        character support. This module, aside from doing its rendering, can
        also be told to pass rendering to HTML, CSV, or other text table
        module like Text::UnicodeBox::Table); so in this way it is similar
        to Text::Table::Any.

README  view on Meta::CPAN

    row (top/bottom/middle)
    16. column_width: Whether module allows setting the width of columns
    17. pad: Whether module allows customizing cell horizontal padding
    18. per_column_width: Whether module allows setting column width on a
    per-column basis
    19. per_row_height: Whether module allows setting row height on a
    per-row basis
    20. row_height: Whether module allows setting the height of rows
    21. vpad: Whether module allows customizing cell vertical padding
    22. Depends on backend
    23. Limited choice of 1 ASCII style and 1 UTF style
    24. Slightly slower than Text::Table::Tiny
    25. But this module can pass rendering to other module like
    Text::UnicodeBox::Table
    26. Newlines stripped
    27. Does not draw borders
    28. The fastest among the others in this list
    29. Irrelevant
    30. But make sure your CSV parser can handle multiline cell
    31. Not converted to HTML color elements

README  view on Meta::CPAN

     | Text::MarkdownTable           |     60    |      20   |              6854.90% |               412.82% |   0.00035 |      20 |
     | Text::Table                   |     90    |      10   |              9175.49% |               284.52% |   0.00026 |      20 |
     | Text::Table::HTML::DataTables |    100    |      10   |             10410.10% |               239.35% |   0.00018 |      20 |
     | Text::Table::TinyBorderStyle  |    200    |       6   |             19509.01% |                81.89% |   0.00011 |      20 |
     | Text::Table::Org              |    200    |       5   |             20190.87% |                75.78% |   0.00013 |      20 |
     | Text::Table::CSV              |    200    |       4.9 |             21769.21% |                63.09% | 4.3e-05   |      20 |
     | Text::Table::Sprintf          |    300    |       4   |             28690.71% |                23.88% | 7.4e-05   |      20 |
     | Text::Table::Any              |    300    |       3   |             35566.44% |                 0.00% | 3.3e-05   |      20 |
     +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

    The above result formatted in Benchmark.pm style:

                                       Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::ASCIITable  Text::Table::TinyColorWide  Text::FormatTable  Text::Table::TinyWide  Text::SimpleTable  Text::Table::Manifold  Text::Table::T...
      Text::UnicodeBox::Table        0.92/s                       --             -49%               -63%              -90%                        -93%               -93%                   -95%               -96%                   -97%               -...
      Text::ANSITable                 1.8/s                      96%               --               -28%              -82%                        -87%               -87%                   -91%               -93%                   -94%               -...
      Text::Table::More               2.5/s                     175%              39%                 --              -75%                        -82%               -82%                   -87%               -90%                   -92%               -...
      Text::ASCIITable                9.6/s                    1000%             459%               300%                --                        -30%               -31%                   -50%               -62%                   -70%               -...
      Text::Table::TinyColorWide       10/s                    1471%             700%               471%               42%                          --                -1%                   -28%               -45%                   -57%               -...
      Text::FormatTable                15/s                    1494%             711%               479%               44%                          1%                 --                   -27%               -44%                   -56%               -...
      Text::Table::TinyWide            20/s                    2100%            1019%               700%              100%                         39%                37%                     --               -24%                   -40%               -...
      Text::SimpleTable                26/s                    2794%            1373%               952%              163%                         84%                81%                    31%                 --                   -21%               -...

README  view on Meta::CPAN

     | Text::Table::TinyColor        |     570   |     1.8   |              7628.23% |               355.08% | 4.2e-06   |      20 |
     | Text::Table::HTML             |     590   |     1.7   |              7913.19% |               338.90% | 3.4e-06   |      20 |
     | Text::Table::HTML::DataTables |     890   |     1.1   |             12003.16% |               190.58% | 5.1e-06   |      20 |
     | Text::Table::TinyBorderStyle  |    1200   |     0.83  |             16229.83% |               115.37% | 6.6e-06   |      20 |
     | Text::Table::Org              |    1600   |     0.62  |             21670.38% |                61.55% | 6.6e-07   |      20 |
     | Text::Table::CSV              |    1730   |     0.579 |             23360.70% |                49.91% | 2.3e-07   |      20 |
     | Text::Table::Any              |    2500   |     0.4   |             33906.20% |                 3.42% | 4.3e-07   |      20 |
     | Text::Table::Sprintf          |    2590   |     0.386 |             35069.88% |                 0.00% | 1.6e-07   |      20 |
     +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

    The above result formatted in Benchmark.pm style:

                                       Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::ASCIITable  Text::FormatTable  Text::Table::TinyColorWide  Text::Table::TinyWide  Text::SimpleTable  Text::Table::Manifold  Text::TabularD...
      Text::UnicodeBox::Table         7.4/s                       --             -58%               -65%              -92%               -94%                        -95%                   -96%               -97%                   -97%                ...
      Text::ANSITable                  17/s                     141%               --               -15%              -82%               -86%                        -87%                   -91%               -93%                   -94%                ...
      Text::Table::More                21/s                     185%              18%                 --              -79%               -83%                        -85%                   -89%               -91%                   -93%                ...
      Text::ASCIITable                100/s                    1300%             480%               390%                --               -19%                        -30%                   -50%               -60%                   -70%                ...
      Text::FormatTable               100/s                    1650%             625%               512%               25%                 --                        -12%                   -37%               -50%                   -62%                ...
      Text::Table::TinyColorWide      100/s                    1900%             728%               600%               42%                14%                          --                   -28%               -42%                   -57%                ...
      Text::Table::TinyWide           200/s                    2700%            1060%               880%              100%                60%                         39%                     --               -19%                   -40%                ...
      Text::SimpleTable               200/s                    3400%            1350%              1125%              150%               100%                         75%                    25%                 --                   -25%                ...

README  view on Meta::CPAN

     | Text::SimpleTable             |     13000 |    0.077  |              8169.66% |               570.34% | 8.8e-08   |      21 |
     | Text::Table::Tiny             |     14800 |    0.0676 |              9362.84% |               485.82% | 4.6e-08   |      20 |
     | Text::Table::TinyColor        |     22000 |    0.044  |             14278.48% |               285.54% | 1.8e-07   |      20 |
     | Text::Table::HTML             |     29000 |    0.034  |             18554.36% |               197.17% |   7e-08   |      20 |
     | Text::Table::CSV              |     45000 |    0.022  |             28952.94% |                90.81% | 2.6e-08   |      24 |
     | Text::Table::Org              |     51700 |    0.0193 |             32959.88% |                67.68% | 8.2e-09   |      21 |
     | Text::Table::Any              |     74100 |    0.0135 |             47322.43% |                16.90% | 8.8e-09   |      20 |
     | Text::Table::Sprintf          |     86700 |    0.0115 |             55334.94% |                 0.00% | 5.7e-09   |      21 |
     +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

    The above result formatted in Benchmark.pm style:

                                        Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::Table::TinyWide  Text::Table::TinyBorderStyle  Text::ASCIITable  Text::TabularDisplay  Text::FormatTable  Text::Table::Manifold  Text::Ta...
      Text::UnicodeBox::Table          200/s                       --             -75%               -83%                   -95%                          -95%              -96%                  -97%               -97%                   -97%          ...
      Text::ANSITable                  690/s                     300%               --               -33%                   -80%                          -82%              -86%                  -89%               -90%                   -90%          ...
      Text::Table::More                990/s                     500%              50%                 --                   -70%                          -74%              -79%                  -84%               -85%                   -86%          ...
      Text::Table::TinyWide           4000/s                    1900%             400%               233%                     --                          -13%              -30%                  -48%               -53%                   -53%          ...
      Text::Table::TinyBorderStyle    3800/s                    2207%             476%               284%                    15%                            --              -19%                  -40%               -45%                   -46%          ...
      Text::ASCIITable                4700/s                    2757%             614%               376%                    42%                           23%                --                  -26%               -32%                   -33%          ...
      Text::TabularDisplay            6500/s                    3796%             874%               549%                    94%                           68%               36%                    --                -8%                    -9%          ...
      Text::FormatTable               7070/s                    4155%             963%               609%                   112%                           84%               48%                    9%                 --                     0%          ...

README  view on Meta::CPAN

     | Text::Table::Tiny             |     52400 |   0.0191  |             14513.24% |               458.48% | 1.7e-08 |      20 |
     | Text::Table::TinyColor        |     50000 |   0.02    |             15110.40% |               436.55% |   9e-07 |      25 |
     | Text::Table::HTML             |     62200 |   0.0161  |             17223.24% |               371.11% | 5.9e-09 |      22 |
     | Text::SimpleTable             |     64700 |   0.0154  |             17934.63% |               352.53% | 1.3e-08 |      20 |
     | Text::Table::Org              |    145000 |   0.00691 |             40228.25% |               102.37% |   2e-09 |      20 |
     | Text::Table::Any              |    191000 |   0.00525 |             52985.72% |                53.74% | 2.6e-09 |      20 |
     | Text::Table::Sprintf          |    272000 |   0.00367 |             75724.38% |                 7.63% | 1.7e-09 |      22 |
     | Text::Table::CSV              |    293000 |   0.00341 |             81511.84% |                 0.00% | 2.1e-09 |      21 |
     +-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+

    The above result formatted in Benchmark.pm style:

                                         Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::Table::TinyBorderStyle  Text::Table::Manifold  Text::ASCIITable  Text::Table::HTML::DataTables  Text::Table::TinyWide  Text::Table  Text...
      Text::UnicodeBox::Table           400/s                       --             -80%               -89%                          -92%                   -97%              -98%                           -98%                   -98%         -98%      ...
      Text::ANSITable                  2000/s                     400%               --               -46%                          -63%                   -87%              -90%                           -91%                   -91%         -92%      ...
      Text::Table::More                3100/s                     837%              87%                 --                          -31%                   -76%              -82%                           -83%                   -84%         -85%      ...
      Text::Table::TinyBorderStyle     4500/s                    1263%             172%                45%                            --                   -66%              -74%                           -75%                   -77%         -78%      ...
      Text::Table::Manifold           14000/s                    3954%             710%               332%                          197%                     --              -24%                           -27%                   -32%         -36%      ...
      Text::ASCIITable                18000/s                    5257%             971%               471%                          292%                    32%                --                            -3%                   -10%         -16%      ...
      Text::Table::HTML::DataTables   19000/s                    5455%            1011%               492%                          307%                    37%                3%                             --                    -7%         -13%      ...
      Text::Table::TinyWide           20000/s                    5900%            1099%               540%                          339%                    47%               11%                             7%                     --          -6%      ...

README  view on Meta::CPAN

     | Text::Table::TinyColor        |      2900 |    0.35   |              8603.40% |               361.98% |   5e-07   |      20 |
     | Text::Table::HTML             |      3370 |    0.297  |             10075.60% |               295.14% | 1.7e-07   |      20 |
     | Text::MarkdownTable           |      3400 |    0.3    |             10085.88% |               294.74% | 3.2e-07   |      20 |
     | Text::Table::HTML::DataTables |      4100 |    0.24   |             12334.13% |               223.37% | 7.8e-07   |      20 |
     | Text::Table::Sprintf          |      5260 |    0.19   |             15772.29% |               153.32% | 5.1e-08   |      21 |
     | Text::Table::Org              |      7800 |    0.13   |             23583.00% |                69.77% | 2.8e-07   |      20 |
     | Text::Table::CSV              |     11000 |    0.088  |             34210.03% |                17.19% | 1.6e-07   |      20 |
     | Text::Table::Any              |     13300 |    0.0751 |             40107.73% |                 0.00% | 4.5e-08   |      20 |
     +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

    The above result formatted in Benchmark.pm style:

                                        Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::ASCIITable  Text::FormatTable  Text::Table::TinyColorWide  Text::Table::TinyBorderStyle  Text::Table  Text::Table::TinyWide  Text::Table:...
      Text::UnicodeBox::Table           33/s                       --             -66%               -70%              -92%               -95%                        -96%                          -96%         -97%                   -97%              ...
      Text::ANSITable                   70/s                     200%               --                -9%              -78%               -85%                        -88%                          -90%         -91%                   -91%              ...
      Text::Table::More                100/s                     233%              11%                 --              -75%               -83%                        -86%                          -88%         -90%                   -90%              ...
      Text::ASCIITable                 450/s                    1263%             354%               309%                --               -31%                        -45%                          -54%         -60%                   -62%              ...
      Text::FormatTable                650/s                    1900%             566%               500%               46%                 --                        -20%                          -33%         -42%                   -44%              ...
      Text::Table::TinyColorWide       830/s                    2400%             733%               650%               83%                25%                          --                          -16%         -27%                   -30%              ...
      Text::Table::TinyBorderStyle     900/s                    2900%             900%               800%              120%                50%                         19%                            --         -13%                   -17%              ...
      Text::Table                     1200/s                    3348%            1049%               934%              152%                72%                         37%                           14%           --                    -4%              ...

README  view on Meta::CPAN

     | Text::TabularDisplay          |      10   |   1                  |              1342.19% |                49.32% |   0.0002  |      20 |
     | Text::Table::Org              |      10   |   1                  |              1396.46% |                43.91% |   0.0002  |      20 |
     | Text::Table::HTML             |      10   |   1                  |              1400.52% |                43.52% |   0.00019 |      20 |
     | Text::SimpleTable             |      12   |   3                  |              1421.63% |                41.53% |   0.00011 |      20 |
     | Text::Table::HTML::DataTables |      10   |   1                  |              1463.78% |                37.71% |   0.00012 |      20 |
     | Text::Table::Sprintf          |       9.1 |   0.0999999999999996 |              1954.13% |                 4.84% | 7.3e-05   |      20 |
     | Text::Table::CSV              |       8.7 |  -0.300000000000001  |              2029.97% |                 1.10% | 3.8e-05   |      20 |
     | perl -e1 (baseline)           |       9   |   0                  |              2053.49% |                 0.00% | 8.9e-05   |      20 |
     +-------------------------------+-----------+----------------------+-----------------------+-----------------------+-----------+---------+

    The above result formatted in Benchmark.pm style:

                                        Rate  Text::UnicodeBox::Table  Text::Table::Manifold  Text::ANSITable  Text::MarkdownTable  Text::Table::TinyColorWide  Text::Table::TinyWide  Text::Table::More  Text::Table  Text::Table::Tiny  Text::ASCIITable...
      Text::UnicodeBox::Table          5.3/s                       --                   -42%             -74%                 -75%                        -78%                   -81%               -85%         -85%               -88%              -89%...
      Text::Table::Manifold            9.1/s                      72%                     --             -56%                 -58%                        -63%                   -67%               -74%         -74%               -80%              -81%...
      Text::ANSITable                 20.8/s                     295%                   129%               --                  -4%                        -16%                   -25%               -41%         -41%               -56%              -58%...
      Text::MarkdownTable             21.7/s                     313%                   139%               4%                   --                        -13%                   -21%               -39%         -39%               -54%              -56%...
      Text::Table::TinyColorWide      25.0/s                     375%                   175%              19%                  14%                          --                    -9%               -30%         -30%               -47%              -50%...
      Text::Table::TinyWide           27.8/s                     427%                   205%              33%                  27%                         11%                     --               -22%         -22%               -41%              -44%...
      Text::Table::More               35.7/s                     578%                   292%              71%                  64%                         42%                    28%                 --           0%               -25%              -28%...
      Text::Table                     35.7/s                     578%                   292%              71%                  64%                         42%                    28%                 0%           --               -25%              -28%...

README  view on Meta::CPAN

         <tr><td>row3.1</td><td>row3.2</td><td>row3.3</td></tr>
         <tr><td>row4.1</td><td>row4.2</td><td>row4.3</td></tr>
         <tr><td>row5.1</td><td>row5.2</td><td>row5.3</td></tr>
         </tbody>
         </table>

    *   "Text::Table::HTML::DataTables"

         <html>
         <head>
         <link rel="stylesheet" type="text/css" href="file:///home/u1/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/auto/share/dist/Text-Table-HTML-DataTables/datatables-1.10.22/datatables.css">
         <script src="file:///home/u1/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/auto/share/dist/Text-Table-HTML-DataTables/jquery-2.2.4/jquery-2.2.4.min.js"></script>
         <script src="file:///home/u1/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/auto/share/dist/Text-Table-HTML-DataTables/datatables-1.10.22/datatables.js"></script>
         <script>var dt_opts = {"buttons":["colvis","print"],"dom":"lQfrtip"}; $(document).ready(function() { $("table").DataTable(dt_opts); $("select[name=DataTables_Table_0_length]").val(1000); $("select[name=DataTables_Table_0_length]").trigger("c...
 
         </head>
 
         <body>
         <table>
         <thead>
         <tr><th>col1</th><th>col2</th><th>col3</th></tr>

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

                $ts->draw;
            },
            features => {
                align_cell     => {value=>0},
                align_column   => {value=>0},
                align_row      => {value=>0},
                box_char       => {value=>0},
                color_data     => {value=>0},
                color_theme    => {value=>0},
                colspan        => {value=>0},
                custom_border  => {value=>1, summary=>"Limited choice of 1 ASCII style and 1 UTF style"},
                custom_color   => {value=>0},
                multiline_data => {value=>0},
                rowspan        => {value=>0},
                speed          => {value=>'fast', summary=>'Slightly slower than Text::Table::Tiny'},
                valign_cell    => {value=>0},
                valign_column  => {value=>0},
                valign_row     => {value=>0},
                wide_char_data => {value=>0},
            },
        },

        {
            module => 'Text::UnicodeBox::Table',
            description => <<'_',

The main feature of this module is the various border style it provides drawn
using Unicode box-drawing characters. It allows per-row style. The rendering
speed is particularly slow compared to other modules.

_
            bench_code => sub {
                my ($table) = @_;
                my $t = Text::UnicodeBox::Table->new;
                $t->add_header(@{ $table->[0] });
                $t->add_row(@{ $table->[$_] }) for 1..$#{$table};
                $t->render;
            },

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

formatting options which I need to Text::Table::More.

_
            bench_code => sub {
                my ($table) = @_;
                my $t = Text::ANSITable->new(
                    use_utf8 => 0,
                    use_box_chars => 0,
                    use_color =>  0,
                    columns => $table->[0],
                    border_style => 'ASCII::SingleLine',
                );
                $t->add_row($table->[$_]) for 1..@$table-1;
                $t->draw;
            },
            features => {
                align_cell => 1,
                align_column => 1,
                align_row => 1,
                box_char => 1,
                color_data =>  1,

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN


As its name implies, a simple table-generating module with minimal documentation
and a few choices or border characters. You have to set the width of all columns
manually.


=item L<Text::UnicodeBox::Table>

Author: L<EWATERS|https://metacpan.org/author/EWATERS>

The main feature of this module is the various border style it provides drawn
using Unicode box-drawing characters. It allows per-row style. The rendering
speed is particularly slow compared to other modules.


=item L<Text::Table::Manifold>

Author: L<RSAVAGE|https://metacpan.org/author/RSAVAGE>

Two main features of this module is per-column aligning and wide character
support. This module, aside from doing its rendering, can also be told to pass
rendering to HTML, CSV, or other text table module like

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

=item 18. per_column_width: Whether module allows setting column width on a per-column basis

=item 19. per_row_height: Whether module allows setting row height on a per-row basis

=item 20. row_height: Whether module allows setting the height of rows

=item 21. vpad: Whether module allows customizing cell vertical padding

=item 22. Depends on backend

=item 23. Limited choice of 1 ASCII style and 1 UTF style

=item 24. Slightly slower than Text::Table::Tiny

=item 25. But this module can pass rendering to other module like Text::UnicodeBox::Table

=item 26. Newlines stripped

=item 27. Does not draw borders

=item 28. The fastest among the others in this list

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

 | Text::MarkdownTable           |     60    |      20   |              6854.90% |               412.82% |   0.00035 |      20 |
 | Text::Table                   |     90    |      10   |              9175.49% |               284.52% |   0.00026 |      20 |
 | Text::Table::HTML::DataTables |    100    |      10   |             10410.10% |               239.35% |   0.00018 |      20 |
 | Text::Table::TinyBorderStyle  |    200    |       6   |             19509.01% |                81.89% |   0.00011 |      20 |
 | Text::Table::Org              |    200    |       5   |             20190.87% |                75.78% |   0.00013 |      20 |
 | Text::Table::CSV              |    200    |       4.9 |             21769.21% |                63.09% | 4.3e-05   |      20 |
 | Text::Table::Sprintf          |    300    |       4   |             28690.71% |                23.88% | 7.4e-05   |      20 |
 | Text::Table::Any              |    300    |       3   |             35566.44% |                 0.00% | 3.3e-05   |      20 |
 +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

The above result formatted in L<Benchmark.pm|Benchmark> style:

                                   Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::ASCIITable  Text::Table::TinyColorWide  Text::FormatTable  Text::Table::TinyWide  Text::SimpleTable  Text::Table::Manifold  Text::Table::Tiny ...
  Text::UnicodeBox::Table        0.92/s                       --             -49%               -63%              -90%                        -93%               -93%                   -95%               -96%                   -97%               -97% ...
  Text::ANSITable                 1.8/s                      96%               --               -28%              -82%                        -87%               -87%                   -91%               -93%                   -94%               -94% ...
  Text::Table::More               2.5/s                     175%              39%                 --              -75%                        -82%               -82%                   -87%               -90%                   -92%               -92% ...
  Text::ASCIITable                9.6/s                    1000%             459%               300%                --                        -30%               -31%                   -50%               -62%                   -70%               -70% ...
  Text::Table::TinyColorWide       10/s                    1471%             700%               471%               42%                          --                -1%                   -28%               -45%                   -57%               -57% ...
  Text::FormatTable                15/s                    1494%             711%               479%               44%                          1%                 --                   -27%               -44%                   -56%               -56% ...
  Text::Table::TinyWide            20/s                    2100%            1019%               700%              100%                         39%                37%                     --               -24%                   -40%               -40% ...
  Text::SimpleTable                26/s                    2794%            1373%               952%              163%                         84%                81%                    31%                 --                   -21%               -21% ...

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

 | Text::Table::TinyColor        |     570   |     1.8   |              7628.23% |               355.08% | 4.2e-06   |      20 |
 | Text::Table::HTML             |     590   |     1.7   |              7913.19% |               338.90% | 3.4e-06   |      20 |
 | Text::Table::HTML::DataTables |     890   |     1.1   |             12003.16% |               190.58% | 5.1e-06   |      20 |
 | Text::Table::TinyBorderStyle  |    1200   |     0.83  |             16229.83% |               115.37% | 6.6e-06   |      20 |
 | Text::Table::Org              |    1600   |     0.62  |             21670.38% |                61.55% | 6.6e-07   |      20 |
 | Text::Table::CSV              |    1730   |     0.579 |             23360.70% |                49.91% | 2.3e-07   |      20 |
 | Text::Table::Any              |    2500   |     0.4   |             33906.20% |                 3.42% | 4.3e-07   |      20 |
 | Text::Table::Sprintf          |    2590   |     0.386 |             35069.88% |                 0.00% | 1.6e-07   |      20 |
 +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

The above result formatted in L<Benchmark.pm|Benchmark> style:

                                   Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::ASCIITable  Text::FormatTable  Text::Table::TinyColorWide  Text::Table::TinyWide  Text::SimpleTable  Text::Table::Manifold  Text::TabularDispl...
  Text::UnicodeBox::Table         7.4/s                       --             -58%               -65%              -92%               -94%                        -95%                   -96%               -97%                   -97%                  -9...
  Text::ANSITable                  17/s                     141%               --               -15%              -82%               -86%                        -87%                   -91%               -93%                   -94%                  -9...
  Text::Table::More                21/s                     185%              18%                 --              -79%               -83%                        -85%                   -89%               -91%                   -93%                  -9...
  Text::ASCIITable                100/s                    1300%             480%               390%                --               -19%                        -30%                   -50%               -60%                   -70%                  -7...
  Text::FormatTable               100/s                    1650%             625%               512%               25%                 --                        -12%                   -37%               -50%                   -62%                  -6...
  Text::Table::TinyColorWide      100/s                    1900%             728%               600%               42%                14%                          --                   -28%               -42%                   -57%                  -6...
  Text::Table::TinyWide           200/s                    2700%            1060%               880%              100%                60%                         39%                     --               -19%                   -40%                  -4...
  Text::SimpleTable               200/s                    3400%            1350%              1125%              150%               100%                         75%                    25%                 --                   -25%                  -3...

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

 | Text::SimpleTable             |     13000 |    0.077  |              8169.66% |               570.34% | 8.8e-08   |      21 |
 | Text::Table::Tiny             |     14800 |    0.0676 |              9362.84% |               485.82% | 4.6e-08   |      20 |
 | Text::Table::TinyColor        |     22000 |    0.044  |             14278.48% |               285.54% | 1.8e-07   |      20 |
 | Text::Table::HTML             |     29000 |    0.034  |             18554.36% |               197.17% |   7e-08   |      20 |
 | Text::Table::CSV              |     45000 |    0.022  |             28952.94% |                90.81% | 2.6e-08   |      24 |
 | Text::Table::Org              |     51700 |    0.0193 |             32959.88% |                67.68% | 8.2e-09   |      21 |
 | Text::Table::Any              |     74100 |    0.0135 |             47322.43% |                16.90% | 8.8e-09   |      20 |
 | Text::Table::Sprintf          |     86700 |    0.0115 |             55334.94% |                 0.00% | 5.7e-09   |      21 |
 +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

The above result formatted in L<Benchmark.pm|Benchmark> style:

                                    Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::Table::TinyWide  Text::Table::TinyBorderStyle  Text::ASCIITable  Text::TabularDisplay  Text::FormatTable  Text::Table::Manifold  Text::Table:...
  Text::UnicodeBox::Table          200/s                       --             -75%               -83%                   -95%                          -95%              -96%                  -97%               -97%                   -97%              ...
  Text::ANSITable                  690/s                     300%               --               -33%                   -80%                          -82%              -86%                  -89%               -90%                   -90%              ...
  Text::Table::More                990/s                     500%              50%                 --                   -70%                          -74%              -79%                  -84%               -85%                   -86%              ...
  Text::Table::TinyWide           4000/s                    1900%             400%               233%                     --                          -13%              -30%                  -48%               -53%                   -53%              ...
  Text::Table::TinyBorderStyle    3800/s                    2207%             476%               284%                    15%                            --              -19%                  -40%               -45%                   -46%              ...
  Text::ASCIITable                4700/s                    2757%             614%               376%                    42%                           23%                --                  -26%               -32%                   -33%              ...
  Text::TabularDisplay            6500/s                    3796%             874%               549%                    94%                           68%               36%                    --                -8%                    -9%              ...
  Text::FormatTable               7070/s                    4155%             963%               609%                   112%                           84%               48%                    9%                 --                     0%              ...

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

 | Text::Table::Tiny             |     52400 |   0.0191  |             14513.24% |               458.48% | 1.7e-08 |      20 |
 | Text::Table::TinyColor        |     50000 |   0.02    |             15110.40% |               436.55% |   9e-07 |      25 |
 | Text::Table::HTML             |     62200 |   0.0161  |             17223.24% |               371.11% | 5.9e-09 |      22 |
 | Text::SimpleTable             |     64700 |   0.0154  |             17934.63% |               352.53% | 1.3e-08 |      20 |
 | Text::Table::Org              |    145000 |   0.00691 |             40228.25% |               102.37% |   2e-09 |      20 |
 | Text::Table::Any              |    191000 |   0.00525 |             52985.72% |                53.74% | 2.6e-09 |      20 |
 | Text::Table::Sprintf          |    272000 |   0.00367 |             75724.38% |                 7.63% | 1.7e-09 |      22 |
 | Text::Table::CSV              |    293000 |   0.00341 |             81511.84% |                 0.00% | 2.1e-09 |      21 |
 +-------------------------------+-----------+-----------+-----------------------+-----------------------+---------+---------+

The above result formatted in L<Benchmark.pm|Benchmark> style:

                                     Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::Table::TinyBorderStyle  Text::Table::Manifold  Text::ASCIITable  Text::Table::HTML::DataTables  Text::Table::TinyWide  Text::Table  Text::Ma...
  Text::UnicodeBox::Table           400/s                       --             -80%               -89%                          -92%                   -97%              -98%                           -98%                   -98%         -98%          ...
  Text::ANSITable                  2000/s                     400%               --               -46%                          -63%                   -87%              -90%                           -91%                   -91%         -92%          ...
  Text::Table::More                3100/s                     837%              87%                 --                          -31%                   -76%              -82%                           -83%                   -84%         -85%          ...
  Text::Table::TinyBorderStyle     4500/s                    1263%             172%                45%                            --                   -66%              -74%                           -75%                   -77%         -78%          ...
  Text::Table::Manifold           14000/s                    3954%             710%               332%                          197%                     --              -24%                           -27%                   -32%         -36%          ...
  Text::ASCIITable                18000/s                    5257%             971%               471%                          292%                    32%                --                            -3%                   -10%         -16%          ...
  Text::Table::HTML::DataTables   19000/s                    5455%            1011%               492%                          307%                    37%                3%                             --                    -7%         -13%          ...
  Text::Table::TinyWide           20000/s                    5900%            1099%               540%                          339%                    47%               11%                             7%                     --          -6%          ...

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

 | Text::Table::TinyColor        |      2900 |    0.35   |              8603.40% |               361.98% |   5e-07   |      20 |
 | Text::Table::HTML             |      3370 |    0.297  |             10075.60% |               295.14% | 1.7e-07   |      20 |
 | Text::MarkdownTable           |      3400 |    0.3    |             10085.88% |               294.74% | 3.2e-07   |      20 |
 | Text::Table::HTML::DataTables |      4100 |    0.24   |             12334.13% |               223.37% | 7.8e-07   |      20 |
 | Text::Table::Sprintf          |      5260 |    0.19   |             15772.29% |               153.32% | 5.1e-08   |      21 |
 | Text::Table::Org              |      7800 |    0.13   |             23583.00% |                69.77% | 2.8e-07   |      20 |
 | Text::Table::CSV              |     11000 |    0.088  |             34210.03% |                17.19% | 1.6e-07   |      20 |
 | Text::Table::Any              |     13300 |    0.0751 |             40107.73% |                 0.00% | 4.5e-08   |      20 |
 +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+

The above result formatted in L<Benchmark.pm|Benchmark> style:

                                    Rate  Text::UnicodeBox::Table  Text::ANSITable  Text::Table::More  Text::ASCIITable  Text::FormatTable  Text::Table::TinyColorWide  Text::Table::TinyBorderStyle  Text::Table  Text::Table::TinyWide  Text::Table::Tin...
  Text::UnicodeBox::Table           33/s                       --             -66%               -70%              -92%               -95%                        -96%                          -96%         -97%                   -97%               -97...
  Text::ANSITable                   70/s                     200%               --                -9%              -78%               -85%                        -88%                          -90%         -91%                   -91%               -92...
  Text::Table::More                100/s                     233%              11%                 --              -75%               -83%                        -86%                          -88%         -90%                   -90%               -91...
  Text::ASCIITable                 450/s                    1263%             354%               309%                --               -31%                        -45%                          -54%         -60%                   -62%               -63...
  Text::FormatTable                650/s                    1900%             566%               500%               46%                 --                        -20%                          -33%         -42%                   -44%               -46...
  Text::Table::TinyColorWide       830/s                    2400%             733%               650%               83%                25%                          --                          -16%         -27%                   -30%               -33...
  Text::Table::TinyBorderStyle     900/s                    2900%             900%               800%              120%                50%                         19%                            --         -13%                   -17%               -19...
  Text::Table                     1200/s                    3348%            1049%               934%              152%                72%                         37%                           14%           --                    -4%                -8...

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

 | Text::Table::Org              |      10   |   1                  |              1396.46% |                43.91% |   0.0002  |      20 |
 | Text::Table::HTML             |      10   |   1                  |              1400.52% |                43.52% |   0.00019 |      20 |
 | Text::SimpleTable             |      12   |   3                  |              1421.63% |                41.53% |   0.00011 |      20 |
 | Text::Table::HTML::DataTables |      10   |   1                  |              1463.78% |                37.71% |   0.00012 |      20 |
 | Text::Table::Sprintf          |       9.1 |   0.0999999999999996 |              1954.13% |                 4.84% | 7.3e-05   |      20 |
 | Text::Table::CSV              |       8.7 |  -0.300000000000001  |              2029.97% |                 1.10% | 3.8e-05   |      20 |
 | perl -e1 (baseline)           |       9   |   0                  |              2053.49% |                 0.00% | 8.9e-05   |      20 |
 +-------------------------------+-----------+----------------------+-----------------------+-----------------------+-----------+---------+


The above result formatted in L<Benchmark.pm|Benchmark> style:

                                    Rate  Text::UnicodeBox::Table  Text::Table::Manifold  Text::ANSITable  Text::MarkdownTable  Text::Table::TinyColorWide  Text::Table::TinyWide  Text::Table::More  Text::Table  Text::Table::Tiny  Text::ASCIITable  Te...
  Text::UnicodeBox::Table          5.3/s                       --                   -42%             -74%                 -75%                        -78%                   -81%               -85%         -85%               -88%              -89%    ...
  Text::Table::Manifold            9.1/s                      72%                     --             -56%                 -58%                        -63%                   -67%               -74%         -74%               -80%              -81%    ...
  Text::ANSITable                 20.8/s                     295%                   129%               --                  -4%                        -16%                   -25%               -41%         -41%               -56%              -58%    ...
  Text::MarkdownTable             21.7/s                     313%                   139%               4%                   --                        -13%                   -21%               -39%         -39%               -54%              -56%    ...
  Text::Table::TinyColorWide      25.0/s                     375%                   175%              19%                  14%                          --                    -9%               -30%         -30%               -47%              -50%    ...
  Text::Table::TinyWide           27.8/s                     427%                   205%              33%                  27%                         11%                     --               -22%         -22%               -41%              -44%    ...
  Text::Table::More               35.7/s                     578%                   292%              71%                  64%                         42%                    28%                 --           0%               -25%              -28%    ...
  Text::Table                     35.7/s                     578%                   292%              71%                  64%                         42%                    28%                 0%           --               -25%              -28%    ...

lib/Acme/CPANModules/TextTable.pm  view on Meta::CPAN

 <tr><td>row3.1</td><td>row3.2</td><td>row3.3</td></tr>
 <tr><td>row4.1</td><td>row4.2</td><td>row4.3</td></tr>
 <tr><td>row5.1</td><td>row5.2</td><td>row5.3</td></tr>
 </tbody>
 </table>

=item * L</Text::Table::HTML::DataTables>

 <html>
 <head>
 <link rel="stylesheet" type="text/css" href="file:///home/u1/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/auto/share/dist/Text-Table-HTML-DataTables/datatables-1.10.22/datatables.css">
 <script src="file:///home/u1/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/auto/share/dist/Text-Table-HTML-DataTables/jquery-2.2.4/jquery-2.2.4.min.js"></script>
 <script src="file:///home/u1/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/auto/share/dist/Text-Table-HTML-DataTables/datatables-1.10.22/datatables.js"></script>
 <script>var dt_opts = {"buttons":["colvis","print"],"dom":"lQfrtip"}; $(document).ready(function() { $("table").DataTable(dt_opts); $("select[name=DataTables_Table_0_length]").val(1000); $("select[name=DataTables_Table_0_length]").trigger("change");...
 
 </head>
 
 <body>
 <table>
 <thead>
 <tr><th>col1</th><th>col2</th><th>col3</th></tr>

lib/Acme/CPANModules_ScenarioR/TextTable.pm  view on Meta::CPAN

## no critic
package Acme::CPANModules_ScenarioR::TextTable;

our $VERSION = 0.016; # VERSION

our $results = do{my$var=[[200,"OK",[{_name=>"participant=Text::UnicodeBox::Table",_succinct_name=>"Text::UnicodeBox::Table",errors=>0.0024,participant=>"Text::UnicodeBox::Table",pct_faster_vs_slowest=>0,pct_slower_vs_fastest=>365.666666666667,rate=>...

1;
# ABSTRACT: List of modules that generate text tables

=head1 DESCRIPTION

This module is automatically generated by Pod::Weaver::Plugin::Bencher::Scenario during distribution build.

A Acme::CPANModules_ScenarioR::* module contains the raw result of sample benchmark and might be useful for some stuffs later.



( run in 1.180 second using v1.01-cache-2.11-cpan-49f99fa48dc )