xcode-build-benchmark
Skill by AvdLee
Benchmarks Xcode clean and incremental builds to create a repeatable baseline. It is for developers who want to compare build times before and after changes, without changing project files.
Install xcode-build-benchmark
Built from the published package, never by AI.
git clone --depth 1 https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill /tmp/Xcode-Build-Optimization-Agent-Skill && mkdir -p ~/.claude/skills && cp -r /tmp/Xcode-Build-Optimization-Agent-Skill/skills/xcode-build-benchmark ~/.claude/skills/xcode-build-benchmarkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill /tmp/Xcode-Build-Optimization-Agent-Skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Xcode-Build-Optimization-Agent-Skill/skills/xcode-build-benchmark ~/.gemini/antigravity-cli/skills/xcode-build-benchmarkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install xcode-build-benchmark in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Xcode Build Benchmark measures how long Xcode clean and incremental builds take, so a developer has a repeatable baseline before trying to optimize build times. It keeps the command, destination, configuration, scheme, and warm-up rules consistent across runs, and it does not change project files. It covers clean builds, cached clean builds when compilation caching is enabled, zero-change builds that show fixed per-build overhead, and optional incremental builds after touching a source file.
The skill runs a shared helper script, benchmark_builds.py, or equivalent xcodebuild commands with timing summaries. Results are saved as timestamped JSON artifacts in a .build-benchmark/ folder, and medians with spread are reported instead of only the fastest run. It is aimed at developers who want to compare before and after changes or ask whether builds got faster or slower. The artifact can be passed to other skills for optimization guidance.
Written from the project's SKILL.md and checked against it.
What it can do
- Clean build benchmarkRuns three clean builds and reports median, min, and max timings.
- Cached clean build benchmarkMeasures clean builds with a warm compilation cache when caching is enabled.
- Zero-change build benchmarkMeasures fixed per-build overhead by building with no edits.
- Incremental build benchmarkTouches a chosen source file before each build to measure an edit-rebuild loop.
- Timestamped artifactsSaves raw results and summaries as JSON in a .build-benchmark/ folder.
What you need
- Xcode
- xcodebuild command line tools
- Python 3
Try asking
- Benchmark clean and incremental builds for my App.xcworkspace
- Compare my build times before and after this change
- Measure zero-change build overhead for the MyApp scheme
Good to know
- Does not change project files as part of benchmarking.
- Cached clean builds run only when COMPILATION_CACHE_ENABLE_CACHING is set to YES.
- In git worktrees, missing directories referenced by SPM exclude paths can make package resolution crash.
- Noisy results should be rerun under calmer conditions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/xcode-build-benchmark/SKILL.md, skills/xcode-build-benchmark/scripts/benchmark_builds.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/benchmark-artifacts.md5 KB -
references/benchmarking-workflow.md2 KB -
schemas/build-benchmark.schema.json5 KB -
scripts/benchmark_builds.py12 KB
Alternatives to xcode-build-benchmark
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
xcode-build-benchmark: common questions
What does xcode-build-benchmark measure?
It measures clean builds, cached clean builds when compilation caching is enabled, zero-change builds, and optionally incremental builds after touching a source file. Results include medians, min, max, and the biggest timing-summary categories.
Where are the benchmark results saved?
Results are saved as a timestamped JSON artifact in the .build-benchmark/ directory. The skill also writes a summary alongside the raw results.
Does the skill change my project while benchmarking?
No. The skill states that it does not change project files as part of benchmarking.
How do I install xcode-build-benchmark?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xcode-build-benchmark free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is xcode-build-benchmark safe to use?
It scores 84 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to xcode-build-benchmark?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
