-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
New benchmark target for Netty. #501
Conversation
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
Related: netty/netty#2176 |
} | ||
|
||
pipeline.addLast("codec", new HttpClientCodec()); | ||
pipeline.addLast("inflater", new HttpContentDecompressor()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (benchmark.gzip)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be "realistic" I want the client to use the full pipeline even in scenarios where there's no decompression.
LG |
@swankjesse well in netty 5.x (current master) you can pass an |
@normanmaurer good to know. Most of this change is necessary to support async. |
New benchmark target for Netty.
@swankjesse np... feel free to ping me if you need more infos. Or ask @adriancole how to contact me he has all the details ;) |
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