Build without running benchmarks


I’m getting back into Swift open source after a long break, and I’m building with Xcode because that’s the environment with which I’m most familiar. At this time, I’m mainly just exploring, so I don’t need to run benchmark tests. However, I noticed that the build script is running them after the build completes. I tried passing --skip-test-osx but that didn’t work for me. Is there a way to skip the benchmark tests while building? For reference, I built with this command: ./build-script -x --release-debuginfo -j4.


I haven’t used the -x or --xcode option yet, but you could try:

  • --skip-build-benchmarks (see the build-script --help output)

  • --skip-test-benchmarks (see the known settings in build-script-impl)

1 Like

I don’t know how I missed that. Thanks, @benrimmington!