Closed rnro closed 10 months ago
Bench1Conn10kRequests performance tester incorrectly used a NIOLoopBound to access the HTTP2StreamMultiplexer to create streams.
Bench1Conn10kRequests
NIOLoopBound
HTTP2StreamMultiplexer
Make HTTP2StreamMultiplexer.SendableView public and use it to pass the multiplexer into the event loop execute.
HTTP2StreamMultiplexer.SendableView
https://github.com/apple/swift-nio-http2/pull/434
Motivation:
Bench1Conn10kRequests
performance tester incorrectly used aNIOLoopBound
to access theHTTP2StreamMultiplexer
to create streams.Modifications:
Make
HTTP2StreamMultiplexer.SendableView
public and use it to pass the multiplexer into the event loop execute.Result:
HTTP2StreamMultiplexer.SendableView
is publicBench1Conn10kRequests
are not broken