swift-openapi-async-http-client icon indicating copy to clipboard operation
swift-openapi-async-http-client copied to clipboard

Added initial benchmarks

Open czechboy0 opened this issue 1 year ago • 0 comments

Motivation

To make it easier to add benchmarks for specific hot code paths and profile them.

Also to avoid regressing on allocation counts.

Modifications

Added a Benchmarks directory, similar to https://github.com/apple/swift-openapi-runtime/pull/119

Result

Now we have benchmarks.

Note that CI is coming later, and so are thresholds.

Test Plan

Ran the benchmarks locally.

czechboy0 avatar Oct 02 '24 14:10 czechboy0