Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Benchmarks Xcode clean, cached-clean, incremental, and zero-change builds, writing timestamped timing summaries to .build-benchmark/.
Use this skill ↓26% 74%+48 ptsof test cases passed
Passed 17 of 23 test cases with the skill, and 6 of 23 without it.
We want to run an incremental build benchmark on `VideoEditor.xcworkspace` touching `Sources/Timeline.swift`. What option should be provided to `scripts/benchmark_builds.py`?
Passes `--touch-file` with `Sources/Timeline.swift` as its value.
3 of 3 safety checks passed
Use this skill to produce a repeatable Xcode build baseline before anyone tries to optimize build times.
.build-benchmark/.Confirm or infer:
DerivedData path is neededIf the project has both clean-build and incremental-build pain, benchmark both. That is the default.
When benchmarking inside a git worktree, SPM packages with exclude: paths that reference gitignored directories (e.g., __Snapshots__) will cause xcodebuild -resolvePackageDependencies to crash. Create those missing directories before running any builds.
COMPILATION_CACHE_ENABLE_CACHING = YES is detected, run 3 cached clean builds. These measure clean build time with a warm compilation cache -- the realistic scenario for branch switching, pulling changes, or Clean Build Folder. The script handles this automatically by building once to warm the cache, then deleting DerivedData (but not the compilation cache) before each measured run. Pass --no-cached-clean to skip.benchmark_builds.py invocation (no --touch-file flag).--touch-file path/to/SomeFile.swift to touch a representative source file before each build..build-benchmark/.Next to this one in the catalogue, plus more from the same author.