Skip to content

Commit

Permalink
send warmup requests
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Feb 18, 2010
1 parent ba24711 commit 15bd296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/ab.pl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ sub run_one {
my $uri = URI->new($url);
$uri->port($port);
$uri = shell_quote($uri);
system "ab -n 20 $uri > /dev/null"; # warmup
print `$ab $uri | grep 'Requests per '`;
},
server => sub {
Expand Down

0 comments on commit 15bd296

Please sign in to comment.