swift-algorithms icon indicating copy to clipboard operation
swift-algorithms copied to clipboard

Benchmarks needed

Open karwa opened this issue 3 years ago • 2 comments

As I mentioned in #109, a benchmark suite is important for ensuring a stable level of performance.

Personally, I've been using https://github.com/google/swift-benchmark - it's a little rough around the edges, but it produces decent reports on all platforms and the dynamic iterations features works really well for getting stable readings out of small code snippets. I'd encourage Apple (or Swift.org) to adopt it, given S4TF's demise, the likelihood that the original authors will abandon it, and the need for good benchmarking utilities that work across platforms.

karwa avatar Mar 16 '21 12:03 karwa

Agreed on this — let's discuss here before going down an implementation path.

natecook1000 avatar Apr 02 '21 19:04 natecook1000

Is the newly released swift-collections-benchmark suitable for such case? I thought that’s exactly the one we need.

stevapple avatar Apr 06 '21 01:04 stevapple