hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1156164 - /httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
Date Wed, 10 Aug 2011 13:10:52 GMT
Author: olegk
Date: Wed Aug 10 13:10:52 2011
New Revision: 1156164

URL: http://svn.apache.org/viewvc?rev=1156164&view=rev
Log:
Fixed bug in benchmark's warm up code

Modified:
    httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java

Modified: httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java?rev=1156164&r1=1156163&r2=1156164&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
Wed Aug 10 13:10:52 2011
@@ -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("=================================");



Mime
View raw message