1
0
mirror of https://github.com/square/okhttp.git synced 2025-12-25 00:01:02 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Adrian Cole
a3e9485b81 When a SPDY client, use a large flow-control window. 2014-02-19 20:26:41 -08:00
Adrian Cole and Jesse Wilson
fdee6f13a4 FindBugs sweep. 2014-02-05 17:18:30 +01:00
jwilson
4313b7af81 Promote the target backlog to a parameter. 2014-02-03 07:45:27 +01:00
Adrian Cole
a12d6a6fcc Merge pull request #503 from normanmaurer/pooled
Use the pooled allocator for performance reasons
2014-02-01 16:59:41 -08:00
Adrian Cole
b2293c2660 Merge pull request #504 from square/jwilson_0201_caliper
Use Caliper for benchmarking.
2014-02-01 12:53:18 -08:00
jwilson
99841aecb4 Use Caliper for benchmarking. 2014-02-01 15:52:06 -05:00
Norman Maurer
18ef05d70d Use the pooled allocator for performance reasons 2014-02-01 20:09:25 +01:00
Adrian Cole
66b2582379 Add instructions to execute the benchmark with correct JVM parameters. 2014-02-01 11:01:27 -08:00
Adrian Cole
08bc3c8808 Add MockWebServer.setNpnProtocols 2014-02-01 11:00:49 -08:00
jwilson
13ce4a09be New benchmark target for Netty.
This required some reworking to the harness since Netty doesn't
want to be used with an ExecutorService.

NettyHttpClient [HTTP_11]
bodyByteCount=1048576 headerCount=20 concurrencyLevel=10
Requests per second: 597.1

OkHttp [HTTP_11]
bodyByteCount=1048576 headerCount=20 concurrencyLevel=10
Requests per second: 705.2
2014-02-01 12:21:03 -05:00
jwilson
7c21992db5 New benchmark targets for Apache HTTP Client and URLConnection.
OkHttp [HTTP_11]
bodyByteCount=1048576 headerCount=20 threadCount=10
Requests per second: 690.9

UrlConnection [HTTP_11]
bodyByteCount=1048576 headerCount=20 threadCount=10
Requests per second: 671.3

ApacheHttpClient [HTTP_11]
bodyByteCount=1048576 headerCount=20 threadCount=10
Requests per second: 317.4
2014-02-01 00:55:37 -05:00
jwilson
9bbdf3a924 Quick and dirty benchmark.
Sample output:

OkHttp [gzip, chunked, HTTP_11]
bodyByteCount=1048576 headerCount=20 threadCount=10
Requests per second: 121.0
Requests per second: 304.6
Requests per second: 379.1
Requests per second: 386.9
Requests per second: 369.2
Requests per second: 390.8
Requests per second: 368.8
Requests per second: 325.2
Requests per second: 409.4
Requests per second: 389.1
2014-01-31 22:24:54 -05:00