forked from square/okhttp
-
Notifications
You must be signed in to change notification settings - Fork 0
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
sync #11
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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.
Use Caliper for benchmarking.
…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.
FindBugs sweep.
Fix for NPE when the OpenSSLSocketImpl returns null from getNpnSelectedProtocol
carck
pushed a commit
that referenced
this pull request
Feb 7, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.