Reverted changes committed by mistake
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/conn-mgmt-redesign@1156538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
46f309f7c9
commit
4a25576f5d
|
@ -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];
|
||||
|
|
|
@ -43,7 +43,6 @@ import org.apache.http.conn.ssl.SSLSocketFactory;
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue