mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
# Motivation We landed the async bridge types a while back but never added allocation and performance tests. Since we expect these types to be used performance critical paths we really should cover those with tests. # Modification Extends the allocation counter scaffolding to support async tests. Furthermore, add allocations tests for both the writer and producer. Lastly, I a also added a performance test for the producer. # Result We now have baseline tests for the `NIOAsyncWriter` and `NIOAsyncSequenceProducer` Co-authored-by: Cory Benfield <lukasa@apple.com>