Acme-CPANModules-TextTable

 view release on metacpan or  search on metacpan

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

 | 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...
  Text::Table::Manifold           300/s                    4566%            1833%              1533%              233%               166%                        133%                    66%                33%                     --                   -...
  Text::TabularDisplay            350/s                    4900%            1971%              1650%              257%               185%                        150%                    78%                42%                     7%                    ...
  Text::Table::Tiny               380/s                    5085%            2048%              1714%              270%               196%                        159%                    85%                48%                    11%                    ...
  Text::MarkdownTable             410/s                    5500%            2220%              1860%              300%               220%                        179%                   100%                60%                    19%                   1...
  Text::Table                     500/s                    6900%            2800%              2350%              400%               300%                        250%                   150%               100%                    50%                   3...
  Text::Table::TinyColor          570/s                    7677%            3122%              2622%              455%               344%                        288%                   177%               122%                    66%                   5...
  Text::Table::HTML               590/s                    8135%            3311%              2782%              488%               370%                        311%                   194%               135%                    76%                   6...
  Text::Table::HTML::DataTables   890/s                   12627%            5172%              4354%              809%               627%                        536%                   354%               263%                   172%                  15...
  Text::Table::TinyBorderStyle   1200/s                   16767%            6887%              5803%             1104%               863%                        743%                   502%               381%                   261%                  23...
  Text::Table::Org               1600/s                   22480%            9254%              7803%             1512%              1190%                       1029%                   706%               545%                   383%                  35...
  Text::Table::CSV               1730/s                   24079%            9917%              8362%             1627%              1281%                       1108%                   763%               590%                   418%                  38...
  Text::Table::Any               2500/s                   34900%           14400%             12150%             2400%              1900%                       1650%                  1150%               900%                   650%                  59...
  Text::Table::Sprintf           2590/s                   36169%           14925%             12594%             2490%              1972%                       1713%                  1195%               936%                   677%                  62...
 
 Legends:
   Text::ANSITable: participant=Text::ANSITable
   Text::ASCIITable: participant=Text::ASCIITable
   Text::FormatTable: participant=Text::FormatTable
   Text::MarkdownTable: participant=Text::MarkdownTable
   Text::SimpleTable: participant=Text::SimpleTable
   Text::Table: participant=Text::Table
   Text::Table::Any: participant=Text::Table::Any
   Text::Table::CSV: participant=Text::Table::CSV
   Text::Table::HTML: participant=Text::Table::HTML
   Text::Table::HTML::DataTables: participant=Text::Table::HTML::DataTables
   Text::Table::Manifold: participant=Text::Table::Manifold
   Text::Table::More: participant=Text::Table::More
   Text::Table::Org: participant=Text::Table::Org
   Text::Table::Sprintf: participant=Text::Table::Sprintf
   Text::Table::Tiny: participant=Text::Table::Tiny
   Text::Table::TinyBorderStyle: participant=Text::Table::TinyBorderStyle
   Text::Table::TinyColor: participant=Text::Table::TinyColor
   Text::Table::TinyColorWide: participant=Text::Table::TinyColorWide
   Text::Table::TinyWide: participant=Text::Table::TinyWide
   Text::TabularDisplay: participant=Text::TabularDisplay
   Text::UnicodeBox::Table: participant=Text::UnicodeBox::Table

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 5):

 #table3#
 {dataset=>"small (3x5)"}
 +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+
 | participant                   | rate (/s) | time (ms) | pct_faster_vs_slowest | pct_slower_vs_fastest |  errors   | samples |
 +-------------------------------+-----------+-----------+-----------------------+-----------------------+-----------+---------+
 | Text::UnicodeBox::Table       |       200 |    6      |                 0.00% |             55334.94% |   0.00017 |      20 |
 | Text::ANSITable               |       690 |    1.5    |               340.32% |             12489.56% | 5.2e-06   |      20 |
 | Text::Table::More             |       990 |    1      |               531.41% |              8679.51% | 2.9e-06   |      20 |
 | Text::Table::TinyBorderStyle  |      3800 |    0.26   |              2336.25% |              2175.42% | 3.8e-07   |      22 |
 | Text::Table::TinyWide         |      4000 |    0.3    |              2408.28% |              2110.08% | 2.7e-06   |      20 |
 | Text::ASCIITable              |      4700 |    0.21   |              2923.90% |              1733.22% | 6.5e-07   |      20 |
 | Text::TabularDisplay          |      6500 |    0.154  |              4055.56% |              1233.99% | 5.6e-08   |      24 |
 | Text::FormatTable             |      7070 |    0.141  |              4424.33% |              1125.26% | 1.1e-07   |      21 |
 | Text::Table::Manifold         |      7300 |    0.14   |              4558.22% |              1090.05% | 6.6e-07   |      20 |
 | Text::Table::HTML::DataTables |      7410 |    0.135  |              4639.87% |              1069.55% | 1.2e-07   |      20 |
 | Text::Table::TinyColorWide    |      7600 |    0.13   |              4790.08% |              1033.62% | 1.5e-07   |      21 |
 | Text::Table                   |      7700 |    0.13   |              4851.51% |              1019.56% | 2.1e-07   |      20 |
 | Text::MarkdownTable           |     12400 |    0.0805 |              7842.12% |               597.99% | 5.7e-08   |      20 |
 | 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%              ...
  Text::Table::Manifold           7300/s                    4185%             971%               614%                   114%                           85%               49%                    9%                 0%                     --              ...
  Text::Table::HTML::DataTables   7410/s                    4344%            1011%               640%                   122%                           92%               55%                   14%                 4%                     3%              ...
  Text::Table::TinyColorWide      7600/s                    4515%            1053%               669%                   130%                          100%               61%                   18%                 8%                     7%              ...
  Text::Table                     7700/s                    4515%            1053%               669%                   130%                          100%               61%                   18%                 8%                     7%              ...
  Text::MarkdownTable            12400/s                    7353%            1763%              1142%                   272%                          222%              160%                   91%                75%                    73%              ...
  Text::SimpleTable              13000/s                    7692%            1848%              1198%                   289%                          237%              172%                  100%                83%                    81%              ...
  Text::Table::Tiny              14800/s                    8775%            2118%              1379%                   343%                          284%              210%                  127%               108%                   107%              ...
  Text::Table::TinyColor         22000/s                   13536%            3309%              2172%                   581%                          490%              377%                  250%               220%                   218%              ...
  Text::Table::HTML              29000/s                   17547%            4311%              2841%                   782%                          664%              517%                  352%               314%                   311%              ...
  Text::Table::CSV               45000/s                   27172%            6718%              4445%                  1263%                         1081%              854%                  600%               540%                   536%              ...
  Text::Table::Org               51700/s                   30988%            7672%              5081%                  1454%                         1247%              988%                  697%               630%                   625%              ...
  Text::Table::Any               74100/s                   44344%           11011%              7307%                  2122%                         1825%             1455%                 1040%               944%                   937%              ...
  Text::Table::Sprintf           86700/s                   52073%           12943%              8595%                  2508%                         2160%             1726%                 1239%              1126%                  1117%              ...
 
 Legends:



( run in 1.676 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )