apple / apple/swift-algorithms
Benchmarks needed
- Dominant language
- Swift
- Stars
- 6.3k
- Forks
- 483
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Research direction
Start by reading issue #109 and reviewing the google/swift-benchmark project linked here, including its cross-platform reporting and dynamic-iteration behavior. Define the benchmark suite's scope and how it should fit swift-algorithms; done means the project has stable performance measurements across platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- performance, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100