swift-nio/Sources/NIOPerformanceTester
Franz Busch 1abe64c5e6
Add benchmarks for `NIOAsyncWriter` and `NIOAsyncSequenceProducer` (#2301)
# 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>
2022-10-26 03:51:20 -07:00
..
Benchmark.swift Remove `#if compiler(>=5.5)` (#2292) 2022-10-13 07:17:46 -07:00
ByteBufferViewContainsBenchmark.swift Add benchmark for BBV contains. (#1385) (#2042) 2022-02-08 22:06:21 -08:00
ByteBufferViewCopyToArrayBenchmark.swift Add benchmarks for copying BBV to Array. (#2037) 2022-02-03 01:36:12 -08:00
ByteBufferViewIteratorBenchmark.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
ByteBufferWriteMultipleBenchmarks.swift ByteBuffer: provide multi read/write int methods (#1987) 2021-11-22 14:58:52 +00:00
ByteToMessageDecoderDecodeManySmallsBenchmark.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
ChannelPipelineBenchmark.swift Increase runtime of performance tests to O(10 ms) to increase SNR (#2063) 2022-03-24 07:42:24 -07:00
CircularBufferCopyToArrayBenchmark.swift Add benchmarks for copying CircularBuffer to Array (#2058) 2022-03-07 08:39:28 -08:00
CircularBufferIntoByteBufferBenchmark.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
DeadlineNowBenchmark.swift NIOPerformanceTester: Add DeadlineNowBenchmark for NIODeadline.now() (#2117) 2022-05-16 19:21:31 +01:00
ExecuteBenchmark.swift Increase runtime of performance tests to O(10 ms) to increase SNR (#2063) 2022-03-24 07:42:24 -07:00
LockBenchmark.swift rename class Lock to struct NIOLock (#2266) 2022-09-21 07:36:42 -07:00
NIOAsyncSequenceProducerBenchmark.swift Add benchmarks for `NIOAsyncWriter` and `NIOAsyncSequenceProducer` (#2301) 2022-10-26 03:51:20 -07:00
NIOAsyncWriterSingleWritesBenchmark.swift Add benchmarks for `NIOAsyncWriter` and `NIOAsyncSequenceProducer` (#2301) 2022-10-26 03:51:20 -07:00
SchedulingAndRunningBenchmark.swift Increase runtime of performance tests to O(10 ms) to increase SNR (#2063) 2022-03-24 07:42:24 -07:00
SchedulingBenchmark.swift Increase runtime of performance tests to O(10 ms) to increase SNR (#2063) 2022-03-24 07:42:24 -07:00
WebSocketFrameDecoderBenchmark.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
WebSocketFrameEncoderBenchmark.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
main.swift Add benchmarks for `NIOAsyncWriter` and `NIOAsyncSequenceProducer` (#2301) 2022-10-26 03:51:20 -07:00
resources.swift add performance tester (#396) 2018-05-11 07:22:24 +02:00