Motivation:
NIO 2.26.0 saved us some allocations, some of our limits are now too
high and CI fails as a result.
Modifications:
- Adjust the allocation counter limits.
- Replace a 'class' constraint with 'AnyObject'
Result:
CI passes.
Motivation:
The init() of all benchmarks will execute, even when we filter a
benchmark run down to a single benchmark. We should avoid doing heavy
work there, because it can confuse us when we look at traces elsewhere.
Modifications:
- Move some heavy work in the huffman benchmark base64 decode out of
init().
- Prevent setUp() and tearDown() from running if a test is filtered out.
- Avoid even creating benchmarks unless they're filtered in.
Result:
Less confusing benchmark traces.
Motivation:
Having benchmarks for the HPACK encoder and decoder gives us better
insight into their performance. While we have some simple benchmarks in
the XCTests, using the NIO performance tester framework will give us
more insight into what's happening.
While we're here, we can move the Huffman benchmarks out of the unit
tests and into the benchmark suite.
Modifications:
Added encoder, decoder, and huffman benchmarks.
Result:
Better performance numbers.