Manage benchmark baselines
mainThe benchmarking toolchain allows you to manage performance baselines to track regressions. Use the following commands to list, update, or compare benchmarks against a stored baseline (e.g., the main branch).
# List available benchmarks
swift package benchmark list
# Run and store a baseline
swift package --disable-sandbox benchmark baseline update main
# Compare against a stored baseline
swift package --disable-sandbox benchmark baseline compare main