Acme-CPANModulesUtil-Bencher

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    property:

       entries => [
           ...
           {
               module => 'Text::ANSITable',
               ...
               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 => 'Default::single_ascii',
                   );
                   $t->add_row($table->[$_]) for 1..@$table-1;
                   $t->draw;
               },
 
               # per-function participant

lib/Acme/CPANModulesUtil/Bencher.pm  view on Meta::CPAN

property:

      entries => [
          ...
          {
              module => 'Text::ANSITable',
              ...
              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 => 'Default::single_ascii',
                  );
                  $t->add_row($table->[$_]) for 1..@$table-1;
                  $t->draw;
              },

              # per-function participant

lib/Acme/CPANModulesUtil/Bencher.pm  view on Meta::CPAN

property:

   entries => [
       ...
       {
           module => 'Text::ANSITable',
           ...
           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 => 'Default::single_ascii',
               );
               $t->add_row($table->[$_]) for 1..@$table-1;
               $t->draw;
           },
 
           # per-function participant



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