Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync #11

Merged
merged 27 commits into from
Feb 7, 2014
Merged

sync #11

merged 27 commits into from
Feb 7, 2014

Conversation

carck
Copy link
Owner

@carck carck commented Feb 7, 2014

No description provided.

Adrian Cole and others added 27 commits January 29, 2014 11:17
…ndexing

HPACK: Write headers using indexed names where possible.
These ones are slightly more awkward because they need to do
their own internal buffering.
Adapters that go the other way, to java.io.
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
Quick and dirty benchmark.
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
New benchmark targets for Apache HTTP Client and URLConnection.
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
New benchmark target for Netty.
Tell MockWebServer which NPN protocols to use.
…sh-user-frames

Flush control frames; don't flush user frames.
Use the pooled allocator for performance reasons
InflaterSource. Like InflaterInputStream.
Promote the target backlog to a parameter.
Fix for NPE when the OpenSSLSocketImpl returns null from getNpnSelectedProtocol
carck pushed a commit that referenced this pull request Feb 7, 2014
@carck carck merged commit f109cf3 into carck:master Feb 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants