Lines Matching defs:timethese
17 timethese($count, {
23 timethese($count, {
40 $results = timethese($count,
66 timethese - run several chunks of code several times
68 cmpthese - print results of timethese as a comparison chart
135 timethese(0, { test1 => '...', test2 => '...'})
151 =item timethese ( COUNT, CODEHASHREF, [ STYLE ] )
209 Optionally calls timethese(), then outputs comparison chart. This:
222 c<cmpthese> can also be passed the data structure that timethese() returns:
224 $results = timethese( -1, { a => "++\$i", b => "\$i *= 2" } ) ;
243 the C<timethese()> result structure. If you want that, just use the two
244 statement C<timethese>...C<cmpthese> idiom shown above.
342 use Benchmark qw( timethese cmpthese ) ;
344 $r = timethese( -5, {
405 timethese(). Exposed countit() (was runfor()).
408 and return an empty string. If cmpthese is calling timethese, make it pass the
433 @EXPORT=qw(timeit timethis timethese timediff timestr);
823 $_Usage{timethese} = <<'USAGE';
824 usage: timethese($count, { Name1 => 'code1', ... }); or
825 timethese($count, { Name1 => sub { code1 }, ... });
828 sub timethese{
878 $results = timethese($count, $code, ($style || "none"));