Apple has announced today that it is open-sourcing the benchmarking tools which are used to measure performance of code and software written using the Swift programming language. The tools have already been published on GitHub under the open-source Apache license much like the rest of Swift.
The announcement was made in a blog post (Via: VentureBeat), in which Apple software engineer, Luke Larson wrote: “The suite contains source code for benchmarks, libraries, and utilities designed to help track Swift performance and catch performance regressions before they are committed”.
- The software suite comes with:
- 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
Apple first announced the Swift programming language back in 2014 and open-sourced that at the end of last year. Apple has been encouraging developers to use Swift to create apps for both OS X and iOS.
KitGuru Says: By going open-source, Apple is hoping that developers can get a better understanding of the software and create new tools on top of it or make changes.