Apple makes its Swift benchmark suite open source

In a post on its Swift blog Apple says Swift’s benchmark suite is now open source. The suite contains source code for benchmarks, libraries, and utilities designed to help track Swift performance and catch performance regressions before they are committed, including:

  • 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.

The Swift programming language itself went open source in December. It’s the brainchild of Chris Lattner, who is the senior director of Apple's Developer Tools Department. In 2010, he began taking ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU and other languages to create the new language. Swift was first unveiled at WWDC 2014.

The language is open source under the Apache license, which says that developers can use the software for any purpose and even distribute modified versions of Swift without paying royalties to Apple. It's hoped that developers will begin to use Swift for development outside of the Apple ecosystem