mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: SwiftNIO 2.27.0 added synchronous channel options. We can use these if available when creating a stream channel to avoid a future allocation. Modifications: - 'getAutoReadFromParent' is synchronous when possible and now takes a closure to handle the result. - Update allocation counts (and sort them to make updating them easier, this also includes switching the order we run test_1k_requests interleaved and noninterleaved) Result: Fewer allocations.