Acme-CPANModules-TextTable

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

     | 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%...
      Text::Table::Tiny               47.6/s                     804%                   423%             128%                 119%                         90%                    71%                33%          33%                 --               -4%...
      Text::ASCIITable                50.0/s                     850%                   450%             140%                 129%                        100%                    80%                39%          39%                 5%                --...
      Text::Table::TinyColor          50.0/s                     850%                   450%             140%                 129%                        100%                    80%                39%          39%                 5%                0%...
      Text::FormatTable               58.8/s                    1017%                   547%             182%                 170%                        135%                   111%                64%          64%                23%               17%...
      Text::SimpleTable               83.3/s                    1483%                   816%             300%                 283%                        233%                   200%               133%         133%                75%               66%...
      Text::Table::Any               100.0/s                    1800%                  1000%             380%                 359%                        300%                   260%               179%         179%               110%              100%...
      Text::Table::TinyBorderStyle   100.0/s                    1800%                  1000%             380%                 359%                        300%                   260%               179%         179%               110%              100%...
      Text::TabularDisplay           100.0/s                    1800%                  1000%             380%                 359%                        300%                   260%               179%         179%               110%              100%...
      Text::Table::Org               100.0/s                    1800%                  1000%             380%                 359%                        300%                   260%               179%         179%               110%              100%...
      Text::Table::HTML              100.0/s                    1800%                  1000%             380%                 359%                        300%                   260%               179%         179%               110%              100%...
      Text::Table::HTML::DataTables  100.0/s                    1800%                  1000%             380%                 359%                        300%                   260%               179%         179%               110%              100%...
      Text::Table::Sprintf           109.9/s                    1987%                  1108%             427%                 405%                        339%                   295%               207%         207%               130%              119%...
      perl -e1 (baseline)            111.1/s                    2011%                  1122%             433%                 411%                        344%                   300%               211%         211%               133%              122%...
      Text::Table::CSV               114.9/s                    2083%                  1164%             451%                 428%                        359%                   313%               221%         221%               141%              129%...
 
     Legends:
       Text::ANSITable: mod_overhead_time=39 participant=Text::ANSITable
       Text::ASCIITable: mod_overhead_time=11 participant=Text::ASCIITable
       Text::FormatTable: mod_overhead_time=8 participant=Text::FormatTable
       Text::MarkdownTable: mod_overhead_time=37 participant=Text::MarkdownTable
       Text::SimpleTable: mod_overhead_time=3 participant=Text::SimpleTable
       Text::Table: mod_overhead_time=19 participant=Text::Table
       Text::Table::Any: mod_overhead_time=1 participant=Text::Table::Any
       Text::Table::CSV: mod_overhead_time=-0.300000000000001 participant=Text::Table::CSV
       Text::Table::HTML: mod_overhead_time=1 participant=Text::Table::HTML
       Text::Table::HTML::DataTables: mod_overhead_time=1 participant=Text::Table::HTML::DataTables
       Text::Table::Manifold: mod_overhead_time=101 participant=Text::Table::Manifold
       Text::Table::More: mod_overhead_time=19 participant=Text::Table::More
       Text::Table::Org: mod_overhead_time=1 participant=Text::Table::Org
       Text::Table::Sprintf: mod_overhead_time=0.0999999999999996 participant=Text::Table::Sprintf
       Text::Table::Tiny: mod_overhead_time=12 participant=Text::Table::Tiny
       Text::Table::TinyBorderStyle: mod_overhead_time=1 participant=Text::Table::TinyBorderStyle
       Text::Table::TinyColor: mod_overhead_time=11 participant=Text::Table::TinyColor
       Text::Table::TinyColorWide: mod_overhead_time=31 participant=Text::Table::TinyColorWide
       Text::Table::TinyWide: mod_overhead_time=27 participant=Text::Table::TinyWide
       Text::TabularDisplay: mod_overhead_time=1 participant=Text::TabularDisplay
       Text::UnicodeBox::Table: mod_overhead_time=181 participant=Text::UnicodeBox::Table
       perl -e1 (baseline): mod_overhead_time=0 participant=perl -e1 (baseline)

    The above result presented as chart:

    To display as an interactive HTML table on a browser, you can add option
    "--format html+datatables".

SAMPLE OUTPUTS
    This section shows what the output is like for (some of the) modules:

    *   "Text::Table::Any"

         +--------+--------+--------+
         | col1   | col2   | col3   |
         +--------+--------+--------+
         | row1.1 | row1.2 | row1.3 |
         | row2.1 | row2.2 | row2.3 |
         | row3.1 | row3.2 | row3.3 |
         | row4.1 | row4.2 | row4.3 |
         | row5.1 | row5.2 | row5.3 |
         +--------+--------+--------+

    *   "Text::SimpleTable"

         .-----------+-----------+-----------.
         | col1      | col2      | col3      |
         +-----------+-----------+-----------+
         | row1.1    | row1.2    | row1.3    |
         | row2.1    | row2.2    | row2.3    |
         | row3.1    | row3.2    | row3.3    |
         | row4.1    | row4.2    | row4.3    |
         | row5.1    | row5.2    | row5.3    |
         '-----------+-----------+-----------'

    *   "Text::Table::Manifold"

         +--------+--------+--------+
         |  col1  |  col2  |  col3  |
         +--------+--------+--------+
         | row1.1 | row1.2 | row1.3 |
         | row2.1 | row2.2 | row2.3 |
         | row3.1 | row3.2 | row3.3 |
         | row4.1 | row4.2 | row4.3 |
         | row5.1 | row5.2 | row5.3 |
         +--------+--------+--------+

    *   "Text::ANSITable"

         .--------+--------+--------.
         | col1   | col2   | col3   |
         +--------+--------+--------+
         | row1.1 | row1.2 | row1.3 |
         | row2.1 | row2.2 | row2.3 |
         | row3.1 | row3.2 | row3.3 |
         | row4.1 | row4.2 | row4.3 |
         | row5.1 | row5.2 | row5.3 |
         `--------+--------+--------'

    *   "Text::ASCIITable"

         .--------------------------.
         | col1   | col2   | col3   |
         +--------+--------+--------+
         | row1.1 | row1.2 | row1.3 |
         | row2.1 | row2.2 | row2.3 |
         | row3.1 | row3.2 | row3.3 |
         | row4.1 | row4.2 | row4.3 |
         | row5.1 | row5.2 | row5.3 |
         '--------+--------+--------'



( run in 0.807 second using v1.01-cache-2.11-cpan-39bf76dae61 )