Swift Benchmark Suite now Available

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

We look forward to working with the Swift community to make Swift as fast as possible!

swift.org/blog/swift-benchmark-suite/

Apple's Swift Team has released the benchmark suite as open source. It includes 75 benchmarks for key Swift tasks, libraries for common functions, a driver to run and show metrics, and a tool to compare versions. The goal is to track performance and spot drops before changes merge. Contributors should run benchmarks on their work before pull requests, with instructions in the README. The team welcomes new benchmarks and improvements but cannot take ports from other licences, and plans to add CI support for pull requests.


Category:

Tag:

Year: