-
Notifications
You must be signed in to change notification settings - Fork 420
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
Adopt NIOAsyncSequenceProducer in grpc-swift #1477
Conversation
f73b406
to
22c2078
Compare
Performance tests on 5.6 and 5.7 are failing but they're related to the change of |
Will send follow-up CR to fix the allocation test failures - turns out we've willingly increased the number of allocations in |
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.
LGTM! Nice work! We just have to wait until a new release of NIO is cut to merge this.
41047d5
to
534f80d
Compare
We want to make use of `NIOAsyncSequenceProducer` (or its throwing counterpart) instead of using `PassthroughMessageSequence` and `PassthroughMessageSource`. * Replaced usages of `PassthroughMessageSequence` and `PassthroughMessageSource` with `NIOThrowingAsyncSequenceProducer` grpc-swift now uses `NIOAsyncSequenceProducer`
We want to make use of `NIOAsyncSequenceProducer` (or its throwing counterpart) instead of using `PassthroughMessageSequence` and `PassthroughMessageSource`. * Replaced usages of `PassthroughMessageSequence` and `PassthroughMessageSource` with `NIOThrowingAsyncSequenceProducer` grpc-swift now uses `NIOAsyncSequenceProducer`
We want to make use of `NIOAsyncSequenceProducer` (or its throwing counterpart) instead of using `PassthroughMessageSequence` and `PassthroughMessageSource`. * Replaced usages of `PassthroughMessageSequence` and `PassthroughMessageSource` with `NIOThrowingAsyncSequenceProducer` grpc-swift now uses `NIOAsyncSequenceProducer`
Motivation
We want to make use of
NIOAsyncSequenceProducer
(or its throwing counterpart) instead of usingPassthroughMessageSequence
andPassthroughMessageSource
.Modifications
PassthroughMessageSequence
andPassthroughMessageSource
withNIOThrowingAsyncSequenceProducer
Result
grpc-swift now uses
NIOAsyncSequenceProducer