Apple on Monday announced that its Swift benchmark suite is open source.
The announcement comes two months after the company made its Swift programming language open sourced as promised at the 2015 Worldwide Developers Conference.
The benchmarking suite is available now on GitHub with an open source Apache license. The suite includes 75 benchmarks related to commonly used Swift workloads, libraries for different benchmarking functions, a driver for running said benchmarks and a utility for comparing metrics across Swift versions.
Apple engineer Luke Larson explained that the benchmark suite is designed to track Swift performance and catch performance issues before they are committed. Larson also encourages developers to make suggestions relating to Swift’s benchmark suite, saying that all requests for new benchmarks covering performance critical workloads, additions to benchmark helper libraries, and other enhancements are encouraged.
Swift was first Introduced in 2014 and launched alongside iOS 8 and OS X. It is known as Apple’s programming language built for iOS, OS X, watchOS, and tvOS, designed to work with Cocoa and Cocoa Touch frameworks along with Objective-C while also being widely accessible.
In 2015, the company launched Swift 2 with new features, including advanced error handling and syntax improvements.
The Swift benchmarking software is available open source now on GitHub.