Show
Ignore:
Timestamp:
06/07/08 10:15:33 (5 years ago)
Author:
nothingmuch
Message:

shorter benchmark time

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/HTTP-Engine/branches/lazy_request/tools/benchmark.pl

    r13342 r13364  
    11use strict; 
    22use warnings; 
    3 use Benchmark qw/timethese timeit timestr/; 
     3use Benchmark qw/countit timethese timeit timestr/; 
    44use HTTP::Engine; 
    55use IO::Scalar; 
     
    2323 
    2424tie *STDOUT, 'IO::Scalar', \my $out; 
    25 my $t = timeit 10_000 => sub { 
     25my $t = countit 2 => sub { 
    2626    $engine->run; 
    2727};