xcode-build-benchmark
Benchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped `.build-benchmark/` artifacts.
Skill by carloshpdoc
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/carloshpdoc-xcode-build-benchmark
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/xcode-build-benchmark
What's inside
- Skill name
xcode-build-benchmark- Description
- Benchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped `.build-benchmark/` artifacts. Use when a developer wants a baseline, wants to compare before and after changes, asks to measure build performance, mentions build times, build duration, how long builds take, or wants to know if builds got faster or slower.
- License
- Apache-2.0
- Instructions
- 84 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- benchmark-artifacts.md · references/
- benchmarking-workflow.md · references/
SKILL.md (first lines)
# Xcode Build Benchmark Use this skill to produce a repeatable Xcode build baseline before anyone tries to optimize build times. ## Core Rules - Measure before recommending changes. - Capture clean and incremental builds separately. - Keep the command, destination, configuration, scheme, and warm-up rules consistent across runs. - Write a timestamped JSON artifact to `.build-benchmark/`. - Do not change project files as part of benchmarking. ## Inputs To Collect Confirm or infer: - workspace or project path - scheme - configuration - destination - whether the user wants simulator or device numbers - whether a custom `DerivedData` path is needed If the project has both clean-build and incremental-build pain, benchmark both. That is the default. ## Worktree Considerations 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. ## Default Workflow 1. Normalize the build command and note every flag that affects caching or module reuse. 2. Run one warm-up build if needed to validate that the command succeeds. 3. Run 3 clean builds. 4. If `COMPILATION_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. 5. Run 3 zero-change builds (build immediately after a successful build with no edits). This measures the fixed overhead floor: dependency computation, project description transfer, build description creation, script phases, codesigning, and validation. A zero-change build that takes more than a few seconds indicates avoidable per-build overhead. Use the default `benchmark_builds.py` invocation (no `--touch-file` flag). 6. Optionally run 3 incremental builds with a file touch to measure a real edit-rebuild loop. Use `--touch-file path/to/SomeFile.swift` to touch a representative source file before each build. 7. Save the raw results and summary into `.build-benchmark/`. 8. Report medians and spread, not just the single fastest run. ## Preferred Command Path Use the shared helper when possible: ```bash python3 .claude/skills/scripts/benchmark_builds.py \ --workspace App.xcworkspace \ --scheme MyApp \ --configuration Debug \ --destination "platform=iOS Simulator,name=iPhone 16" \ --output-dir .build-benchmark ``` If you cannot use the helper script, run equivalent `xcodebuild` commands with `-showBuildTimingSummary` and preserve the raw output. ## Required Output Return: - clean build median, min, max - cached clean build median, min, max (when COMPILATION_CACHING is enabled) - zero-change build median, min, max (fixed overhead floor) - incremental build median, min, max (if `--touch-file` was used) - biggest timing-summary categories - environment details that could affect comparisons - path to the saved artifact If results are noisy, say so and recommend rerunning under calmer conditions. ## When To Stop Stop after measurement if the user only asked for benchmarking. If they want optimization guidance, hand off the artifact to the relevant specialist by reading its SKILL.md and applying its workflow to the same project context: - [`xcode-compilation-analyzer`](../xcode-compilation-analyzer/SKILL.md) - [`xcode-project-analyzer`](../xcode-project-analyzer/SKILL.md) - [`spm-build-analysis`](../spm-build-analysis/SKILL.md) - [`xcode-build-orchestrator`](../xcode-build-orchestrator/SKILL.md) for full orchestration ## Additional Resources - For the benchmark contract, see [references/benchmarking-workflow.md](references/benchmarking-workflow.md) - For the shared artifact format, see [references/benchmark-artifacts.md](references/benchmark-artifacts.md)
From carloshpdoc/ios-workflow-claude, Apache-2.0.
More from carloshpdoc/ios-workflow-claude
- 0.539score
xcode-compilation-analyzer
carloshpdoc
Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level…
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
xcode-project-analyzer
carloshpdoc
Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval gates.
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
spm-build-analysis
carloshpdoc
Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds.
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
xcode-build-fixer
carloshpdoc
Implement approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement.
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
xcode-build-orchestrator
carloshpdoc
Orchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing findings, requesting explicit approval…
SkillCFreshness: C★ 7Claude Code +9 - 0.534score
create-tasks
carloshpdoc
Creates Jira tasks from meeting notes, specs, or feature descriptions.
SkillCFreshness: C★ 7Claude Code +9 - 0.523score
local-smart
carloshpdoc
Use o executor local inteligente (dots.llm1) para tarefas que exigem reasoning mais forte
SkillCFreshness: C★ 7Claude Code +9 - 0.523score
local-fast
carloshpdoc
Use o executor local rápido (Qwen3.5 35B A3B) para tarefas de baixo risco e baixo custo
SkillCFreshness: C★ 7Claude Code +9 - 0.286score
content
carloshpdoc
No description from the publisher yet.
SkillCFreshness: C★ 7Claude Code +9 - 0.286score
knowledge
carloshpdoc
No description from the publisher yet.
SkillCFreshness: C★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 8, 2026 (4 months ago)
- Last release
- May 23, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from carloshpdoc
- 0.539score
xcode-project-analyzer
carloshpdoc
Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval gates.
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
spm-build-analysis
carloshpdoc
Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds.
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
xcode-build-fixer
carloshpdoc
Implement approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement.
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
xcode-build-orchestrator
carloshpdoc
Orchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing findings, requesting explicit approval…
SkillCFreshness: C★ 7Claude Code +9 - 0.539score
xcode-compilation-analyzer
carloshpdoc
Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level…
SkillCFreshness: C★ 7Claude Code +9 - 0.534score
create-tasks
carloshpdoc
Creates Jira tasks from meeting notes, specs, or feature descriptions.
SkillCFreshness: C★ 7Claude Code +9
Cite this page
xcode-build-benchmark skill. Agent Mart. https://agentmart.dev/skills/carloshpdoc-xcode-build-benchmark (last updated 2026-10-24)