From 0e3d0d9e1e400461f9f93b2e233775f2fb146b25 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Wed, 10 Aug 2011 13:10:52 +0000 Subject: [PATCH] Fixed bug in benchmark's warm up code git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1156164 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/http/client/benchmark/Benchmark.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java b/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java index 4d612fba7..04d71f74d 100644 --- a/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java +++ b/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java @@ -99,7 +99,7 @@ public class Benchmark { try { agent.init(); // Warm up - agent.get(warmup, 5, 500); + agent.get(warmup, 500, 2); // Sleep a little Thread.sleep(5000); System.out.println("=================================");