hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1156538 - in /httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark: Benchmark.java TestHttpClient4.java
Date Thu, 11 Aug 2011 08:36:36 GMT
Author: olegk
Date: Thu Aug 11 08:36:36 2011
New Revision: 1156538

URL: http://svn.apache.org/viewvc?rev=1156538&view=rev
Log:
Reverted changes committed by mistake

Modified:
    httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
    httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestHttpClient4.java

Modified: httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java?rev=1156538&r1=1156537&r2=1156538&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
(original)
+++ httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
Thu Aug 11 08:36:36 2011
@@ -48,7 +48,7 @@ public class Benchmark {
 
    public static void main(String[] args) throws Exception {
 
-       String ns = System.getProperty("hc.benchmark.n-requests", "400000");
+       String ns = System.getProperty("hc.benchmark.n-requests", "200000");
        String nc = System.getProperty("hc.benchmark.concurrent", "20");
        String cls = System.getProperty("hc.benchmark.content-len", "2048");
 
@@ -76,12 +76,12 @@ public class Benchmark {
        int port = connector.getLocalPort();
 
        TestHttpAgent[] agents = new TestHttpAgent[] {
-//               new TestHttpClient3(),
-//               new TestHttpJRE(),
-//               new TestHttpCore(),
+               new TestHttpClient3(),
+               new TestHttpJRE(),
+               new TestHttpCore(),
                new TestHttpClient4(),
-//               new TestJettyHttpClient(),
-//               new TestNingHttpClient()
+               new TestJettyHttpClient(),
+               new TestNingHttpClient()
        };
 
        byte[] content = new byte[contentLen];

Modified: httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestHttpClient4.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestHttpClient4.java?rev=1156538&r1=1156537&r2=1156538&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestHttpClient4.java
(original)
+++ httpcomponents/httpclient/branches/conn-mgmt-redesign/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestHttpClient4.java
Thu Aug 11 08:36:36 2011
@@ -43,7 +43,6 @@ import org.apache.http.conn.ssl.SSLSocke
 import org.apache.http.entity.ByteArrayEntity;
 import org.apache.http.impl.client.DefaultHttpClient;
 import org.apache.http.impl.conn.PoolingClientConnectionManager;
-import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
 import org.apache.http.params.HttpConnectionParams;
 import org.apache.http.params.HttpParams;
 import org.apache.http.params.HttpProtocolParams;



Mime
View raw message