1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-18 20:40:58 +03:00
Commit Graph

27 Commits

Author SHA1 Message Date
Jesse Wilson
bbfbfdf49e [maven-release-plugin] prepare release parent-1.6.0 2014-05-24 00:10:53 -04:00
Jesse Wilson
d9bec41c0c Offer the okhttp-urlconnection module in the 1.x branch.
This makes it possible to migrate to OkHttp 2 incrementally. Applications
can change their callers to use OkUrlFactory one-by-one, and then switch
to 2.0.
2014-05-23 01:34:32 -04:00
Jesse Wilson
b364227bdf [maven-release-plugin] prepare for next development iteration 2014-04-14 23:37:49 -04:00
Jesse Wilson
e5cb379d09 [maven-release-plugin] prepare release parent-1.5.4 2014-04-14 23:37:46 -04:00
Jesse Wilson
4bee81e498 [maven-release-plugin] prepare for next development iteration 2014-03-29 17:27:59 -04:00
Jesse Wilson
fa8cb2ee26 [maven-release-plugin] prepare release parent-1.5.3 2014-03-29 17:27:56 -04:00
Jesse Wilson
8ec7fa8cb5 [maven-release-plugin] prepare for next development iteration 2014-03-17 22:02:45 -04:00
Jesse Wilson
b46882bdd9 [maven-release-plugin] prepare release parent-1.5.2 2014-03-17 22:02:42 -04:00
Jake Wharton
9275e4e6c2 [maven-release-plugin] prepare for next development iteration 2014-03-11 20:40:06 -07:00
Jake Wharton
d0efad2fd4 [maven-release-plugin] prepare release parent-1.5.1 2014-03-11 20:40:04 -07:00
Jake Wharton
bf77f22b45 [maven-release-plugin] prepare for next development iteration 2014-03-07 14:59:54 -08:00
Jake Wharton
aebb2c4afd [maven-release-plugin] prepare release parent-1.5.0 2014-03-07 14:59:51 -08:00
Jake Wharton
33b76c0d78 Merge pull request #613 from square/okhttp_15_version
Use the 1.5 version in the 1.5 branch.
2014-03-07 11:36:37 -08:00
Jesse Wilson
f76adcbb91 Use the 1.5 version in the 1.5 branch. 2014-03-07 11:35:35 -08:00
Jesse Wilson
8bc100eaad Strip 2.0 APIs from the 1.5 branch. 2014-03-07 11:16:41 -08:00
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