Commit Graph

5 Commits

Author SHA1 Message Date
Antoine van der Lee 659fe433c3 Fix compilation cache setting name and Swift compilation mode value
Closes #14

- Rename `COMPILATION_CACHING` to `COMPILATION_CACHE_ENABLE_CACHING` across
  all skills, scripts, references, and documentation to match the actual
  Xcode build setting key.
- Change `SWIFT_COMPILATION_MODE` debug expected value from `incremental` to
  `singlefile` — the actual build setting value that xcodebuild outputs.
  Xcode UI labels this "Incremental", but the underlying value is `singlefile`.
- Update the `_check()` guard in generate_optimization_report.py so unset
  SWIFT_COMPILATION_MODE still passes when the expected value is `singlefile`.
2026-04-01 20:06:14 +02:00
Antoine van der Lee d977023cb1 Add cached clean benchmark to capture COMPILATION_CACHING benefit
Standard clean builds show cache-population overhead without the
corresponding cache-hit benefit, making COMPILATION_CACHING appear
to regress performance. The new "cached clean" phase measures clean
builds with a warm compilation cache by deleting DerivedData (not
the system compilation cache) between runs. This captures the
realistic developer workflow: branch switching, pulling changes,
and Clean Build Folder.

Changes:
- benchmark_builds.py: auto-detect COMPILATION_CACHING and run
  cached clean builds using a controlled DerivedData path
- Schema bumped to 1.2.0 with optional cached_clean runs/summary
- Report generator shows Cached Clean column when data is present
- All skill docs and references updated to use the cached clean
  metric as the primary comparison for COMPILATION_CACHING impact
2026-03-23 13:59:32 +01:00
Antoine van der Lee 7704b4e5c8 Enhance README and scripts for Xcode build optimization
- Updated README.md to include a quick start guide for the xcode-build-orchestrator skill and detailed installation instructions.
- Added a new script, check_spm_pins.py, to scan for branch-pinned SPM dependencies and check tag availability.
- Enhanced benchmark_builds.py to support measuring real incremental builds with a new --touch-file option.
- Expanded generate_optimization_report.py to auto-generate recommendations based on audit results.
- Revised multiple SKILL.md files to clarify usage instructions and best practices for various skills, including zero-change build analysis and worktree considerations.
2026-03-17 12:02:35 +01:00
Antoine van der Lee d5c4f77b80 Enhance documentation and scripts for Xcode build optimization
- Added sections on measurement caveats related to compilation caching and first-run variance in `benchmark-artifacts.md`.
- Updated `build-optimization-sources.md` with insights from Swift forums regarding slow incremental builds due to planning Swift modules.
- Improved `benchmark_builds.py` to include a warmup clean+build cycle for better cache performance measurement.
- Expanded `generate_optimization_report.py` to include general expectations for compilation caching.
- Revised multiple SKILL.md files to clarify verification processes for local packages and version pins, and to address Swift macro rebuild impacts.
- Updated orchestration report template to note limitations of measuring `COMPILATION_CACHING` improvements.
2026-03-16 19:07:33 +01:00
Antoine van der Lee cc642e0b52 Add Xcode build optimization skills, references, scripts, and plugin metadata
First versioned snapshot of the full skill repository including:
- Five installable agent skills under skills/
- Shared references, schemas, and helper scripts
- Plugin and marketplace metadata for Claude Code
- GitHub workflows for release and README sync
- Compilation caching as a recommended build setting
- Four deeper Swift compiler diagnostic flags for compilation analysis
- Fixed SWIFT_COMPILATION_MODE to use singlefile (actual build setting value)
2026-03-14 17:09:17 +01:00