mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: To improve the performance of a given component it is very helpful to know how it performs! This patch adds benchmarks and allocation counter tests to NIO for websocket frame encoding. Modifications: - Wrote some benchmarks for WebSocket frame encoding. - Wrote some allocation counter tests for WebSocket frame encoding. - Extend the allocation counter tests to properly account for sub-tests Result: Better insight