Skip to content
xcloom
EN/中文

XCLoom Living Benchmarks

Last measured: 2026-11-26

This permanent URL records XCLoom's measured timings across six public open-source iOS repositories (scripts/bench/direct-engine-large-oss.sh, v0.10.0, measured 2026-11-24), a production iOS + watchOS codebase (77.7 MB .ipa, 7 nested bundles), the built-in dual-tier slim simulator pool (scripts/bench/bench-sim-slim-vs-stock.sh), and local release tooling (scripts/bench/run-all.sh). Harness scripts are checked into git with raw TSVs, summaries, and host load logs tracked in docs/claims-ledger.md and tests/corpus/bench/large-oss-direct-engine/. Any unmeasured cell remains marked as pending until verified runs record raw data.

Key Measured Numbers

  1. Across two production Claude Code sessions on the author's shipping iOS and watchOS app (77.7 MB .ipa, 208.2 min and 109.2 min), local tool waits accounted for 71% (147.1 min: 84.1 min UI driver, 45.5 min build+drive, 9.4 min build scripts, 8.1 min other local tools) and 69% (75.1 min: 41.6 min UI driver, 26.5 min build+drive, 3.7 min build scripts, 3.3 min other local tools) of wall-clock time while model thinking took 29% (61.1 min) and 31% (34.1 min).
  2. On the author's modular production iOS + watchOS app (77.7 MB .ipa, 7 nested bundles), XCLoom Direct ran a 1-file simulator Swift edit in 2.41s (118/2 CAS hits), a fresh git worktree build in 1.32s (124/0 CAS hits), and a 63 KB warm .dylib hot patch in 0.36s (recorded standalone without a side-by-side legacy baseline; like-for-like public OSS comparisons follow below).
  3. Across all six public open-source iOS apps in the 2026-11-24 unified 3-round harness (scripts/bench/direct-engine-large-oss.sh --preset all --rounds 3), all 6/6 repositories compiled via direct (fallback_reason=-) and beat native xcodebuild in 24/24 cells. Relying strictly on cells where native variance stayed within <= 15% of the quiet baseline logged in docs/claims-ledger.md, stable Cold A speedups ranged 1.11x–3.07x (5 repos excluding wikipedia-ios) and stable New Worktree C speedups ranged 3.96x–51.5x (5 repos excluding NetNewsWire: sample-food-truck 23.16s -> 0.45s [51.5x], IceCubesApp 45.97s -> 1.00s [46.0x], Swiftfin 58.70s -> 3.03s [19.4x], Signal-iOS 74.10s -> 5.15s [14.4x], wikipedia-ios 47.36s -> 11.95s [3.96x]). Earlier apple/sample-food-truck runs (scripts/bench/direct-engine-food-truck.sh, which also timed warm .dylib hot patch at 0.37s vs 3.81s 1-line edit) are listed separately below because they predated parallel xcloom-car asset compilation.
  4. Built-in dual-tier pre-boot simulator slimming (19 daemon categories, 24 always-protected daemons, scripts/bench/bench-sim-slim-vs-stock.sh --rounds 2, 2026-11-22) lowered physical memory (ri_phys_footprint) from 1.88 GiB to 1.50 GiB (-20.3%, -0.38 GiB) and live launchd_sim daemons from 213 to 140 (-34.3%) under Safe Default (xcloom sim boot, slim by default while --stock opts out; 147 disabled entries, cold boot 2.37s -> 2.94s, +0.57s), and from 1.70 GiB to 0.72 GiB (-57.3%; unrounded 1.695 -> 0.724 GiB, -0.97 GiB) and 190 to 85 daemons (-55.3%) under App-Aware Auto-Slim (xcloom sim boot --for MinimalApp.app, up to 160 entries via 2–15 ms static analysis, cold boot 2.49s -> 3.02s, +0.53s). Single-RunLoop 2x2 UI audits (xcloom canvas matrix-act on a pre-booted slim iPhone 17, excluding simulator boot and first launch) swept the full SwiftUI + Swift Charts apple/sample-food-truck app in 1.44s (1441.4 ms CLI 3-round median, range 1433.7–1458.2 ms; 1468.6 ms probe median; 2026-11-25, Xcode 27.2, xcloom d026aff), and the minimal UIKit MatrixSweepOracle fixture in 0.064s (63.8 ms wall / 63 ms probe median, 822x1808 PNG, 0 leaked simulators).
  5. Uploading the 77.7 MB production .ipa with xcloom upload-asc (15 chunks over a 16-stream HTTP/2 pool) completed in 25.1s, compared to 67–118s with altool in a 5-build TestFlight baseline (4.0–7.1 min local plus 3–5 min Apple server processing, 8.8–11.1 min end-to-end).
  6. In scripts/bench/run-all.sh (9-run medians), self-signed Keychain-free Mach-O CMS signing finished in 0.43s on an 85 MB / 27-bundle fixture (passing /usr/bin/codesign --verify --deep --strict), and offline xcloom preflight (31 offline checks: 22 App Store ITMS-* rules, including ITMS-90174 and Privacy Manifest ITMS-91053/ITMS-91056 + XCLOOM-PRIVACY-SDK-ONLY, plus 9 XCLOOM-252-* dev-marker leak checks) ran in 0.66s (--method development) and 3.11s (--method app-store) on a 149 MB .ipa, 1.87s on the 77.7 MB production App Store .ipa, 0.39s in a single trial on an 85 MB .ipa, and 2294.4 ms on the Swiftfin simulator build capture (19 passed, 11 errors, 1 warning).

Methodology & Verification Oracle

  • Host hardware: Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM). Timings on smaller 16–36 GB Macs have not been measured yet.
  • OS, toolchain, and per-capture versions: macOS 26.6.2 (25G83). v0.10.0 is the upcoming initial public release; each benchmark table or terminal capture records its exact date, Xcode version (Xcode 27.1 27A9275 for the 2026-11-24 6-repo suite; Xcode 27.2 after the 2026-11-25 host update for matrix, preflight, and trace captures), and git commit SHA in its own caption.
  • Build revisions (docs/claims-ledger.md): 3c39d3c (2026-11-24) for the 6-repo unified suite (scripts/bench/direct-engine-large-oss.sh), cd2889d (2026-11-26, Xcode 27.2) for the same-batch Signal-iOS hot-patch suite (scripts/bench/hot-patch-large-oss.sh), 377babb (2026-11-20) for the earlier single-repo sample-food-truck hot-patch run (scripts/bench/direct-engine-food-truck.sh), 94ba00c (2026-11-21) for the earlier xcloom bench run, 6cbf81a/d026aff (2026-11-25) for terminal captures (preflight, trace, matrix), and 89bba10 for the earlier quiet-host variance baseline.
  • Public harness conditions: scripts/bench/direct-engine-large-oss.sh --preset all --rounds 3 (--wait-load 11 on icecubes/netnewswire/swiftfin, --wait-load 14 on food-truck/signal-ios/wikipedia-ios, 3 cold-started rounds per app, iphonesimulator arm64, Debug; raw TSVs, summaries, and load.txt in tests/corpus/bench/large-oss-direct-engine/) runs under env -i, CODE_SIGNING_ALLOWED=NO, XCLOOM_NO_GLOBAL_CAS=1, and Colima stopped, with remote SwiftPM packages pre-resolved outside timed rounds; scripts/bench/bench-sim-slim-vs-stock.sh --udid <UDID> --settle-secs 12 --rounds 2 (and --for MinimalApp.app, 2026-11-22) runs alternating slim->stock and stock->slim rounds on iPhone Air (iOS 27.3, 12s settle, rss_fallback_pids=0); scripts/bench/run-all.sh reports 9-run medians.
  • Production iOS + watchOS Case Study: Measured on a private shipping app (77.7 MB .ipa, 7 nested bundles) alongside two audited Claude Code sessions. Release archive timings (20.3s 1-file edit / 124.0s cold) are --adhoc-inspect archive_seconds; totals including .ipa export are 23.1s and 126.7s.
  • Artifact verification oracle: Automated round-1 verification runs Apple's native tools (/usr/bin/codesign --verify --deep --strict, plutil -lint, and otool -L) plus Scenario D Mach-O marker symbol checks on every Direct Engine .app bundle. Interactive simulator launch is verified separately outside the 3-round timed loop.
  • Memory accounting: Simulator footprint uses macOS proc_pid_rusage (ri_phys_footprint, rss_fallback_pids=0), never double-counted RSS.

6-Repo Public Open-Source Matrix

Measured 2026-11-24 via scripts/bench/direct-engine-large-oss.sh --preset all --rounds 3 (v0.10.0 build 3c39d3c, --wait-load 11 on icecubes/netnewswire/swiftfin, --wait-load 14 on food-truck/signal-ios/wikipedia-ios, 3 cold-started rounds per app, iphonesimulator arm64, Debug; raw TSVs, summaries, and load.txt in tests/corpus/bench/large-oss-direct-engine/).

New Worktree C (2nd worktree wt2)

3.96x–51.5xHeadline range, stable cells · excludes NetNewsWire

  1. sample-food-truckapple3954a769e99f
    23.16s
    0.45s

    11/0 CAS hits / misses

    51.5x
  2. IceCubesAppDimillian98098b9c4b59
    45.97s
    1.00s

    63/0 CAS hits / misses

    46.0x
  3. Swiftfinjellyfin5d48ca973c9e
    58.70s
    3.03s

    78/0 CAS hits / misses

    19.4x
  4. Signal-iOSsignalappa690a26d2cfe
    74.10s
    5.15s

    75/0 CAS hits / misses

    14.4x
  5. NetNewsWireRanchero-Softwarecf07204cce7f
    22.47s
    1.60s

    54/4 CAS hits / misses

    14.0xnative timing varied >15%, left out of the headline range
  6. wikipedia-ioswikimedia11a763dea0c8
    47.36s
    11.95s

    311/0 CAS hits / misses

    3.96x

Unified 6-repo harness

scripts/bench/direct-engine-large-oss.sh --preset all --rounds 3

3c39d3c · 2026-11-24 · 3-round median

apple/sample-food-truck · Fresh git worktree

23.16s
0.45s

Dedicated apple/sample-food-truck script

scripts/bench/direct-engine-food-truck.sh · 377babb · 2026-11-20

apple/sample-food-truck · Fresh git worktree

22.82s
0.25s

Warm .dylib hot patch

0.37s

Different worktree setup from the 6-repo harness, and it times xcloom hot.

Repository (Pinned SHA)EngineCold A (1st worktree wt1) xcloom vs nativeNo-Change B (wt1) xcloom vs nativeNew Worktree C (2nd worktree wt2) xcloom vs native1-Line Edit D (wt2) xcloom vs native
apple/sample-food-truck (3954a769e99f)
direct
7.78s vs 23.90s (3.07x)
0.22s vs 3.63s (16.5x)
0.45s (11/0 CAS) vs 23.16s (51.5x)
1.51s vs 5.43s (3.60x)
Dimillian/IceCubesApp (98098b9c4b59)
direct
26.85s vs 45.68s (1.70x)
0.63s vs 12.08s (19.2x)
1.00s (63/0 CAS) vs 45.97s (46.0x)
3.30s vs 12.94s (3.92x)
Ranchero-Software/NetNewsWire (cf07204cce7f)
direct
14.27s vs 23.22s (1.63x)
0.51s vs 15.12s (29.6x)
1.60s (54/4 CAS) vs 22.47s (14.0x)
3.49s vs 14.29s (4.09x)
jellyfin/Swiftfin (5d48ca973c9e)
direct
56.65s vs 70.55s (1.25x)
2.03s vs 11.74s (5.78x)
3.03s (78/0 CAS) vs 58.70s (19.4x)
18.28s vs 32.83s (1.80x)
signalapp/Signal-iOS (a690a26d2cfe)
direct
69.02s vs 76.70s (1.11x)
1.94s vs 10.27s (5.29x)
5.15s (75/0 CAS) vs 74.10s (14.4x)
14.18s vs 31.16s (2.20x)
wikimedia/wikipedia-ios (11a763dea0c8)
direct
48.37s vs 62.34s (1.29x)
9.70s vs 23.50s (2.42x)
11.95s (311/0 CAS) vs 47.36s (3.96x)
16.00s vs 23.96s (1.50x)

Headline multiplier rules and host load disclosure: All 6/6 repositories compiled through the direct engine (fallback_reason=-) and beat native xcodebuild in 24/24 cells. Recomputed against the earlier quiet baseline logged in docs/claims-ledger.md (89bba10), XCLoom still beats native in all 24/24 cells, with the smallest margins at 1.06x on wikipedia-ios cold A (51.24s vs 48.37s) and 1.10x on Swiftfin cold A (62.51s vs 56.65s). Because host load during this run started at 10.4–13.8 and ended at 10.7–33.2, 11 of the 24 cells saw native xcodebuild drift more than 15% above 89bba10: 9 of those were in Scenarios B and D (which are not used in the A/C headline ranges), and the other 2 were wikipedia-ios Cold A and NetNewsWire New Worktree C, which are excluded from the headline multipliers (1.11x–3.07x Cold A and 3.96x–51.5x New Worktree C). On Signal-iOS Cold A, a transient round-1 load spike (50.38) made XCLoom's slowest single round (99.34s) slower than native's slowest round (82.79s), while the 3-round median stayed faster (69.02s vs 76.70s).

Why apple/sample-food-truck Cold A runs 3.07x faster (23.90s -> 7.78s): Under an empty cache (XCLOOM_NO_GLOBAL_CAS=1), XCLoom logged 2/10 intra-build reuse of FoodTruckKit shared between the main App and Widgets, and gained the rest from parallel xcloom-car asset catalog compilation ahead of actool, split SDK module prewarming, and overlapped target pipelining. Automated round-1 outputs passed plutil -lint, otool -L, /usr/bin/codesign --verify --deep --strict, and Scenario D Mach-O marker verification (interactive simulator launch is checked separately outside the timed loop).

Raw 3-round min–max ranges (xcloom vs native):

  • apple/sample-food-truck: A 7.37–11.06s vs 23.89–24.12s, B 0.19–0.29s vs 3.21–3.63s, C 0.41–0.60s vs 23.07–23.86s, D 1.39–2.64s vs 4.77–8.42s.
  • Dimillian/IceCubesApp: A 25.71–28.34s vs 40.96–50.86s, B 0.61–1.34s vs 10.19–13.78s, C 0.64–1.11s vs 41.74–46.39s, D 3.27–3.51s vs 9.34–13.08s.
  • Ranchero-Software/NetNewsWire: A 14.23–14.51s vs 21.86–30.48s, B 0.50–0.51s vs 14.00–15.18s, C 1.56–1.62s vs 19.07–29.60s, D 3.46–3.56s vs 13.86–16.13s.
  • jellyfin/Swiftfin: A 54.27–57.48s vs 67.21–80.77s, B 1.94–2.26s vs 11.52–17.47s, C 3.01–3.22s vs 56.78–66.54s, D 15.03–18.53s vs 32.23–32.94s.
  • signalapp/Signal-iOS: A 66.23–99.34s vs 76.04–82.79s (round-1 transient end-load 50.38), B 1.93–2.12s vs 9.80–12.25s, C 4.96–5.31s vs 70.41–125.34s, D 13.73–14.95s vs 24.34–33.46s.
  • wikimedia/wikipedia-ios: A 45.94–49.50s vs 60.48–62.80s, B 9.68–9.78s vs 15.15–28.90s, C 11.57–14.75s vs 46.27–51.01s, D 15.04–16.69s vs 22.03–29.46s.

Same-batch Signal-iOS warm .dylib hot patch (scripts/bench/hot-patch-large-oss.sh, cd2889d, 2026-11-26, Xcode 27.2, raw TSVs & load.txt in tests/corpus/bench/signal-ios-hot-patch/): Recorded in a separate Xcode 27.2 batch from the Xcode 27.1 6-repo table above. On signalapp/Signal-iOS (a690a26d2cfe, scheme Signal, alternating 1-line Swift function-body edit in Signal/Calls/CallStrings.swift, verifying both embedded string marker and codesign --verify --strict on every round), warm 3-round medians (r1–r3) dropped from 27.37s (24.54–29.12s, plain xcodebuild relinking the 85.4 MB Signal.debug.dylib) to 1.93s (0.71–2.21s, 14.2x faster than plain xcodebuild and ~7.3x faster than the 14.18s direct full .app relink in the 6-repo table above; 89 KB signed .dylib patch; fastest round 0.71s; first function-body edit r0: 48.83s -> 1.52s, 32.1x). Structural ABI edits fall back to full direct rebuild (14.18s). Shared-host 1-minute load during r1–r3 was 27.89–40.57 (native median 27.37s stayed below the earlier quiet 31.16s Scenario D baseline).

Earlier apple/sample-food-truck hot-patch run (377babb, 2026-11-20): Before parallel xcloom-car asset compilation landed in 3c39d3c (2026-11-24), sample-food-truck cold builds on 377babb ran slower than xcodebuild (26.41s vs 22.61s; later reduced to 7.78s vs 23.90s on 3c39d3c). We keep 377babb (scripts/bench/direct-engine-food-truck.sh, 3-round medians, load < 12) listed here because it recorded the quiet-host .dylib hot patch timings: 1-line edit 3.81s (xcodebuild) -> 1.02s (direct) -> 0.37s warm .dylib patch (10.3x vs xcodebuild; first patch 2.97s), fresh worktree 22.82s -> 0.25s, no-op 2.44s -> 0.06s.

Direct Engine architecture, Debug vs Release, and remote CAS scope: Layer 1 executes native compilers and asset tools directly (Swift, C/C++/ObjC, .xcassets, Storyboards/XIBs, Metal, CoreData momc, CocoaPods, Swift Macros, and app extensions); Layer 2 provides per-target hybrid delegation when a dependency target relies on a rare unsupported rule. Local macOS Debug build, run, hot, and test default to direct under --engine auto (--local forces on-Mac execution) for eligible .xcodeproj, .xcworkspace, CocoaPods, and XcodeGen (project.yml) apps (including SwiftPM dependencies) without migrating to Bazel, while standalone Package.swift builds and unsupported build rules fall back automatically to xcodebuild and print engine_fallback_reason. xcloom archive --local defaults to xcodebuild under --engine auto and supports explicit --engine direct; xcloom testflight builds via xcodebuild (or pair xcloom archive --local --engine direct with xcloom preflight and xcloom upload-asc). Teams can share L2 compiled artifacts across Macs and CI via --remote-cas (S3, Cloudflare R2, or shared filesystem) with zero hosted vendor account. XCLoom's dual-tier slim simulator pool, 2x2 UI checks, offline preflight, and Keychain-free signing operate on any built .app or .ipa bundle regardless of which build system produced it.

Dimillian/IceCubesApp@ 98098b9c4b592026-11-25
$ xcloom build --local --engine auto --scheme IceCubesApp --platform ios-simulator
[OK] local_direct in 5.3s | cache 61/61 (100.0%)

$ xcloom build --local --engine auto --scheme IceCubesApp --platform ios-simulator --json  # key fields
{
  "engine": "direct",
  "engine_fallback_reason": null,
  "scheme": "IceCubesApp",
  "platform": "ios-simulator",
  "status": "succeeded",
  "cas_hits": 61,
  "cas_misses": 0,
  "total_seconds": 0.090685917,
  "phase_timings_ms": {
    "assets_ms": 0,
    "bundle_sign_ms": 0,
    "cli_init_ms": 2.41,
    "compile_ms": 0,
    "dsym_ms": 0,
    "link_ms": 0,
    "plan_ms": 25,
    "process_total_ms": 94.93,
    "spm_ms": 0,
    "tokio_init_ms": 0.48
  }
}

Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM, macOS 26.6.2 25G83) · Xcode 27.2 Build version 27B52 · xcloom 6cbf81a

Single runs, not the benchmark: the first line is one fresh-worktree build (5.3s, xcloom 6cbf81a, Xcode 27.2); the JSON is a no-change rebuild right after it. The table's 1.00s is the 3-round median from the benchmark script (xcloom 3c39d3c). Single runs vary.

wikimedia/wikipedia-ios@ 11a763dea0c82026-11-26
$ xcloom build --local --engine auto --scheme Wikipedia --platform ios-simulator
[OK] local_direct in 2.2s | cache 308/308 (100.0%)
  app: <xcloom-cache>/derived-data/wt2-9ab98bcb/direct-build/Products/Debug-iphonesimulator/Wikipedia.app

$ xcloom build --local --engine auto --scheme Wikipedia --platform ios-simulator --json  # key fields
{
  "engine": "direct",
  "engine_fallback_reason": null,
  "scheme": "Wikipedia",
  "platform": "ios-simulator",
  "status": "succeeded",
  "cas_hits": 308,
  "cas_misses": 0,
  "total_seconds": 2.677764917,
  "phase_timings_ms": {
    "assets_ms": 427,
    "bundle_sign_ms": 384,
    "cli_init_ms": 5.4,
    "compile_ms": 612,
    "dsym_ms": 0,
    "link_ms": 155,
    "plan_ms": 106,
    "process_total_ms": 2684.26,
    "spm_ms": 340,
    "tokio_init_ms": 1.94
  }
}

Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM, macOS 26.6.2 25G83) · Xcode 27.2 Build version 27B52 · xcloom 6fec250

The local cache folder at the start of the app path is shown as <xcloom-cache>. No timings or counts were changed.

A single run on 2026-11-26 (xcloom 6fec250) on a fresh worktree, after another worktree had filled the shared cache. It shows the direct engine builds this app with no fallback. The table's timings are 3-round medians from the benchmark script (xcloom 3c39d3c).

Cold build25.33s
1-line edit2.99s
7.82sCompile Ice_Cubes+14.15s · critical pathHover or click a step to inspect

Longest steps

  1. 8.35s
  2. 7.82s
  3. 5.99s
  4. 5.88s
  5. 5.22s

Dimillian/IceCubesApp @ 98098b9c4b59

xcloom trace --chrome-trace trace.json · xcloom 3c39d3c · Xcode 27.2 · 2026-11-24

traced wall time 25.33s · critical path 22.74s · host load 14.6

One traced run per view, not the 3-round benchmark median above.

Production iOS + watchOS App Timings

Measured on the author's private shipping iOS and watchOS app (77.7 MB .ipa, 7 nested bundles, modular codebase). Why the 2.41s 1-file edit is faster than Signal-iOS (14.18s) or Swiftfin (18.28s): unlike monolithic main app binaries that must relink one giant executable on every edit, this modular app reused 118/120 cached targets (118/2 CAS) and only recompiled and linked the single touched module. Build timings below are listed standalone without a side-by-side legacy baseline because pre-XCLoom scripts used queue locks or different signing modes; clean like-for-like xcodebuild comparisons are in the 6-repo and Signal-iOS hot-patch tables above. In two pre-XCLoom Claude Code sessions on this app, Session A (208.2 min) spent 61.1 min (29%) on LLM thinking and 147.1 min (71%) waiting on local tools (84.1 min UI driver, 45.5 min combined build+drive commands, 9.4 min build scripts, 8.1 min other local tools); Session B (109.2 min) spent 34.1 min (31%) thinking and 75.1 min (69%) waiting on local tools (41.6 min UI driver, 26.5 min combined build+drive commands, 3.7 min build scripts, 3.3 min other local tools). A separate UI regression log recorded 19 simulator runs taking 25 min.

Standalone XCLoom Direct Timing (77.7 MB Modular App)XCLoomNotes
Simulator 1-file Swift edit
2.41s
Measured (118/2 CAS hits on modular graph)
Fresh git worktree build
1.32s
Measured (124/0 shared CAS hits)
Warm .dylib hot patch
0.36s
Measured (63 KB patch; like-for-like public OSS runs: Signal-iOS 27.37s -> 1.93s [14.2x], sample-food-truck 3.81s -> 0.37s [10.3x])
Release archive 1-file edit
20.3s (23.1s with .ipa export)
Unsigned --adhoc-inspect direct archive (archive_seconds; signed archive pending physical-iPhone run)
Cold release archive
124.0s (126.7s with .ipa export)
Unsigned --adhoc-inspect direct archive (archive_seconds; signed archive pending physical-iPhone run)
Delivery Workflow (77.7 MB App)Baseline (TestFlight / altool)XCLoomNotes
Formal TestFlight upload (77.7 MB .ipa)
67–118s (altool)
25.1s
Measured (xcloom upload-asc, 15 chunks over a 16-stream HTTP/2 pool)
Signed TestFlight local pipeline
4.0–7.1 min (128–284s archive + 40–49s export + 67–118s upload)
not yet measured
Archive + Apple Distribution sign + preflight + upload (Apple 3–5 min processing remains; 8.8–11.1 min baseline end-to-end)
Daily .dev QR OTA to iPhone
8.8–11.1 min (via TestFlight)
not yet measured on a device
Side-by-side .dev bundle over resumable HTTPS 206 OTA (skips Apple queue)
Device UI .dylib hot reload
8.8–11.1 min (via TestFlight)
not yet measured on a device
Incremental UI patch on device

Slim Simulator Pool & Binary Tooling

iPhone Air · iOS 27.3 · 2-round median

Physical memory footprint

1.88 GiB1.50 GiB-20.3%

Live simulator (launchd_sim) processes

213140-34.3%

Disabled daemon entries

0147

19 daemon categories · 24 always-protected daemons

Cold boot wall time

2.37s2.94s+0.57s

Cost of slimming · +0.57s

ComponentBaselineXCLoomMeasurement / Oracle
Safe Default slim memory (xcloom sim boot)
1.88 GiB
1.50 GiB (-20.3%, -0.38 GiB)
macOS proc_pid_rusage (ri_phys_footprint, rss_fallback_pids=0), scripts/bench/bench-sim-slim-vs-stock.sh --rounds 2 (2026-11-22, iPhone Air, iOS 27.3, 12s settle). Slims by default (--stock opts out) while keeping widgets/store/photos enabled (147 disabled entries across 19 categories; 24 always-protected daemons). Cold boot 2.37s -> 2.94s (+0.57s from pre-boot disabled.plist backup/merge and launchd_sim startup adjustment).
Safe Default live launchd_sim daemons
213
140 (-34.3%)
Process count under launchd_sim in scripts/bench/bench-sim-slim-vs-stock.sh --rounds 2 (2026-11-22)
App-Aware Auto-Slim memory (--for MinimalApp.app)
1.70 GiB
0.72 GiB (-57.3%; unrounded 1.695 -> 0.724 GiB, -0.97 GiB)
macOS proc_pid_rusage (ri_phys_footprint, rss_fallback_pids=0), scripts/bench/bench-sim-slim-vs-stock.sh --for MinimalApp.app --rounds 2 (2026-11-22). Auto-enabled in xcloom run --smoke, xcloom matrix, and xcloom test via 2–15 ms static entitlement / Info.plist / .appex / LC_LOAD_DYLIB analysis (up to 160 entries; 24 protected, including com.apple.assistantd to prevent Spotlight memory leaks, com.apple.gamed to prevent XCUITest DTServiceHub stalls, and com.apple.coredevice.dtuhidd for CoreSimulator/HID bridging). Cold boot 2.49s -> 3.02s (+0.53s from pre-boot disabled.plist backup/merge and launchd_sim adjustment).
App-Aware live launchd_sim daemons (--for MinimalApp.app)
190
85 (-55.3%)
Process count under launchd_sim with --for MinimalApp.app (2026-11-22); --stock restores exact original disabled.plist bytes
Keychain-free CMS signing (85 MB / 27 bundles)
Keychain modal stalls
0.43s
9-run median (scripts/bench/run-all.sh, self-signed CMS); verified via /usr/bin/codesign --verify --deep --strict
Offline xcloom preflight (149 MB / 85 MB / 77.7 MB .ipa)
Rejected after upload
0.66s dev / 3.11s app-store (149 MB); 0.39s (85 MB); 1.87s (77.7 MB)
9-run medians on 149 MB (scripts/bench/run-all.sh), single trial on 85 MB, and production App Store .ipa (77.7 MB); 31 offline checks (22 ITMS-* rules, including ITMS-90174 and Privacy Manifest ITMS-91053/ITMS-91056 + XCLOOM-PRIVACY-SDK-ONLY, plus 9 XCLOOM-252-* dev-marker leak checks; Swiftfin simulator capture: 19 passed, 11 errors, 1 warning in 2294.4 ms)
2x2 four-state UI audit, real SwiftUI app (apple/sample-food-truck)
4 sequential sim passes
1.44s (1441.4 ms CLI / 1468.6 ms probe median)
3-round median (xcloom canvas matrix-act on pre-booted slim iPhone 17, CLI [1441.4, 1433.7, 1458.2] ms, in-process single-RunLoop probe 1468.6 ms, excludes simulator boot and first app launch; 2026-11-25, Xcode 27.2, xcloom d026aff, 3954a769e99f). Standalone xcloom matrix --repo . --json or xcloom matrix --app <APP_PATH> --out <DIR> --json (also supporting --device-type, multi-device --devices "iphone-se,iphone-pro,ipad", repeatable --tap, --open-url, --wait-for, --open, and .xcloom.json sim/matrix defaults) defaults to light, dark, compact, dark-ax-xxxl (pass --states for RTL). Separate single full standalone runs (not speed timings, as wall time covers lease, boot, install, settle, and shutdown) flagged 14 VIEWPORT_OVERFLOW findings on apple/sample-food-truck (494pt HostingScrollView overflowing 402pt viewport in Dark + AX-XXXL) and 35 findings on wikimedia/wikipedia-ios (TEXT_TRUNCATION and CONTROL_OVERLAPS_TEXT).
2x2 four-state UI audit, minimal UIKit fixture (MatrixSweepOracle)
4 sequential sim passes
0.064s (63.8 ms wall / 63 ms probe median)
3-round median (62–78 ms) on minimal UIKit fixture MatrixSweepOracle / booted slim iPhone 17 (iOS 27.3), 822x1808 PNG (122 KB), 2 UILabel truncation red boxes, 0 leaked simulators (xcloom canvas matrix-act default states Light, 375pt Compact, Dark + AX-XXXL, RTL). Kept separate from real full-app timings above.
Workflow & host-audit tooling (disk, diff-ui, xray, bsp, explain, sim daemon, sim snapshot, e2e, ux)
Manual cleanup / ad-hoc scripts
78.2 GB safe reclaimable (xcloom disk)
Author's dev Mac audit (xcloom disk): 121.7 GB allocated across 721 items (96.3 GB Xcode DerivedData), 78.2 GB safe reclaimable via xcloom disk prune --safe --apply. Paired with xcloom diff-ui & xcloom xray --upload PR cards, xcloom bsp for SourceKit-LSP, xcloom explain --stdin --fix offline error diagnosis, zero-axe resident HID & Accessibility xcloom sim daemon, APFS CoW xcloom sim snapshot, xcloom e2e, and xcloom ux explore/report.
Cloud S3-FIFO CAS eviction (100k entries, 7d TTL)
O(1) LRU eviction (0.00% Top-500 hot retention under 50% cold-PR scan storm)
1.53M ops/s (98.40% Top-500 hot retention; +6.18–7.57 pp hit-rate lift)
scripts/bench/bench-cloud-algorithms.sh (2026-11-27, a4dc288, Mac15,14, rustc 1.98.0, docs/cloud-scheduling-and-cache.md); p50 0.58 us, p99 1.33 us at 100k entries (2.56–2.71M ops/s at 20k Zipf).
Cloud Per-Tenant WFQ fair scheduler (200 / 1k / 3k queued)
FIFO queue (0.0909 Jain's fairness; 363.4s light-tenant median wait)
8,031 / 3,630 / 1,664 claims/s (0.6667 fairness; -76% light-tenant wait to 87.4s)
scripts/bench/bench-cloud-algorithms.sh (2026-11-27, a4dc288, SQLite WAL + covering indexes, 16 worker threads); Free-tenant anti-starvation max wait capped at 301.0s; enqueues 9.8k–12.5k/s.
xcloom canvas matrix-act: Light mode (402×874pt standard layout) · Dark mode (402×874pt standard layout) · 375×667pt Compact iPhone SE layout · Dark mode with AX-XXXL accessibility text size
xcloom matrix · Unretouched capture · 840x1852 PNG · apple/sample-food-truck @ 3954a769e99f · Picture: one xcloom matrix run · 14 findings · Xcode 27.2 · 2026-11-25 · Open original PNG

1.44s

xcloom canvas matrix-act · separate timed run: Light · Compact · Dark + AX-XXXL · RTL · apple/sample-food-truck · iPhone 17, pre-booted slim · 1441.4 ms median

3 rounds · 1433.7–1458.2 ms

  • 11441.4 ms
  • 21433.7 ms
  • 31458.2 ms

1468.6 ms in-process probe median

Swiftfin · xcloom preflight
jellyfin/Swiftfin@ 5d48ca973c9e2026-11-25
$ xcloom preflight ./Swiftfin.app --method app-store
xcloom preflight [FAIL]: ./Swiftfin.app (org.jellyfin.swiftfin v1.0 #1, method=app-store) — 19 checks passed in 2294.4 ms
  [ERROR] ITMS-90208: executable 'Swiftfin' slice 'arm64' LC_BUILD_VERSION targets simulator platform 'ios-simulator'
  [ERROR] ITMS-90035: ad-hoc signature (no signing certificate): devices and App Store Connect accept only code signed with an Apple Development or Apple Distribution certificate; `xcloom archive --adhoc-inspect` output is for inspection only
  [ERROR] ITMS-90174: no embedded.mobileprovision: device builds must embed a provisioning profile that covers the bundle ID (`xcloom archive` with signing, or `xcloom provision`)

Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM, macOS 26.6.2 25G83) · Xcode 27.2 Build version 27B52 · xcloom 6cbf81a

31 checks: 19 passed, 11 errors, 1 warning. The simulator build is used on purpose to show what preflight stops.

Reproduce Locally

To reproduce the checked-in OSS and simulator harnesses, clone xcloom and build the release binary first (or pass --xcloom "$(command -v xcloom)" if xcloom is already installed on your PATH):

zsh
git clone https://github.com/xcloom/xcloom.git
cd xcloom
cargo build --release -p xcloom-cli
bash scripts/bench/direct-engine-large-oss.sh --preset all --rounds 3 --wait-load 14 --export-dir tests/corpus/bench/large-oss-direct-engine
bash scripts/bench/direct-engine-food-truck.sh
bash scripts/bench/bench-sim-slim-vs-stock.sh --udid <UDID> --settle-secs 12 --rounds 2
sample-food-truck · xcloom bench
apple/sample-food-truck@ 3954a769e99f2026-11-21
$ xcloom bench --repo . --rounds 2 --markdown
## XCLoom Benchmark: `wt1` (scheme `Food Truck`, `ios-simulator`)

- **Host:** Mac15,14 (Apple M3 Ultra, 512 GB RAM) | macOS 26.6.2 | Xcode 27.1 / Build version 27A9275 | xcloom `v0.10.0`
- **Setup:** commit `3954a76` | edit file `App/Account/SignUpView.swift` | `2` cold-started round(s) | `XCLOOM_NO_GLOBAL_CAS=1`, scrubbed `env -i`
- **Engine:** `direct` (auto-selected)

| Scenario | Native `xcodebuild` | `xcloom` (`direct`) | Speedup |
| --- | ---: | ---: | ---: |
| Cold, empty cache (wt1) | `23.51 s` (`23.05-23.96 s`) | `24.22 s` (`24.05-24.39 s`) | `0.97x` |
| No-change rebuild (wt1) | `2.48 s` (`2.34-2.62 s`) | `0.19 s` (`0.18-0.20 s`) | `13.05x` |
| First build, new worktree (wt2) | `23.78 s` (`23.19-24.38 s`) | `0.40 s` (`0.39-0.40 s`) | `59.45x` |
| 1-line Swift edit (wt2) | `3.61 s` (`3.57-3.65 s`) | `2.06 s` (`2.05-2.06 s`) | `1.75x` |
| 1-line edit live patch (xcloom hot) | — | `0.53 s` (`0.53-0.54 s`) | — |

Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM, macOS 26.6.2 25G83) · Xcode 27.1 Build version 27A9275 · xcloom 94ba00c

Early baseline, recorded before the current build optimizations. A rerun on the current release will replace it.

To measure your own iOS repository without cloning the benchmark suite, run xcloom bench against your app's path (it runs isolated cold builds in temporary worktrees without mutating your working tree). Note: the xcloom bench terminal capture shown on this page was recorded on an earlier pre-release build (94ba00c, 2026-11-21, before parallel xcloom-car asset compilation landed on 3c39d3c), where cold build ran 24.22s vs 23.51s (0.97x), fresh worktree 23.78s -> 0.40s (59.45x), 1-line edit 3.61s -> 2.06s, and xcloom hot 0.53s; current cold-build numbers (7.78s vs 23.90s, 3.07x) are in the 6-repo table above:

zsh
xcloom bench --repo /path/to/your-ios-app --rounds 2 --markdown
A long chain of punched cards feeding an industrial Jacquard loom
Punch cards industrial loom. Sunfox, CC BY-SA 2.0, Wikimedia Commons.
zsh
# Install via Homebrew (or: curl -fsSL https://xcloom.dev/install.sh | sh, installs to ~/.local/bin)
brew install xcloom/tap/xcloom

# Read-only environment and simulator check (zero changes to your project)
xcloom doctor
xcloom sim status

# Wire MCP and Agent Skills into your coding agents (repo-local by default; add --global for user-wide; zero Node)
xcloom mcp install --claude --codex --cursor
xcloom skill install --claude --codex --cursor

Or paste one sentence into Claude Code, Codex, or Cursor so the agent installs the CLI, registers MCP and the agent skill, runs a first local build, and optionally installs git merge drivers or benchmarks your repo:

Open agent-setup.md
Read https://xcloom.dev/agent-setup.md and set up XCLoom for this repository: install the CLI, register the MCP server and agent skill, verify the environment with xcloom doctor, and run a first local build with xcloom build --local --json. Optionally install the git merge drivers and run xcloom bench --repo . --json (isolated cold xcodebuild comparison; can take several minutes on large repositories).

Requires macOS with local Xcode SDKs and compilers. Runs directly on existing .xcodeproj, .xcworkspace, CocoaPods, and XcodeGen projects without format migration; standalone Package.swift apps and unsupported build rules fall back automatically to xcodebuild.