Acme-CPANModulesUtil-Bencher
view release on metacpan or search on metacpan
252627282930313233343536373839404142434445{
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
functions
=> {
'func1'
=> {
bench_code_template
=>
'Text::ANSITable::func1([])'
,
},
lib/Acme/CPANModulesUtil/Bencher.pm view on Meta::CPAN
293031323334353637383940414243444546474849{
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
functions
=> {
'func1'
=> {
bench_code_template
=>
'Text::ANSITable::func1([])'
,
},
lib/Acme/CPANModulesUtil/Bencher.pm view on Meta::CPAN
197198199200201202203204205206207208209210211212213214215216217{
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
functions
=> {
'func1'
=> {
bench_code_template
=>
'Text::ANSITable::func1([])'
,
},
( run in 1.556 second using v1.01-cache-2.11-cpan-26ccb49234f )