Apple today announced in a post on its Swift blog that it is open sourcing the Swift benchmark suite. This announcement comes two months after the company made the Swift programming language open source, allowing the developer community to have direct access to the platform. Much like the rest of Swift, the benchmarking suite is available now on GitHub with an open source Apache license.

Spigen TEKA RA200 Airpods Earhooks Cover

Specifically, the suite contains source code for benchmarks, libraries, and utilities. Apple engineer Luke Larson made the announcement, explaining that the benchmark suite is designed to track Swift performance and catch performance issues before they are committed.

Here’s what is available on GitHub for developers:

  • 75 benchmarks covering a number of important Swift workloads
  • Libraries providing commonly needed benchmarking functions
  • A driver for running benchmarks and displaying performance metrics
  • A utility for comparing benchmark metrics across Swift versions

Furthermore, Larson encourages developers to make suggestions relating to Swift’s benchmark suite, noting that all requests for new benchmarks covering performance critical workloads, additions to benchmark helper libraries, and other improvements are encouraged.

The open souring of the Swift benchmark suite continues Apple’s trend of making Swift as accessible as possible, both for developers and those who wish to teach Swift to younger crowds. Apple senior vice president of software Craig Federighi noted last year in an interview that making Swift open source will greatly increase interaction with developers.

The Swift benchmarking software is available open source now on GitHub.