Skip to content

docs(ci): record the measured cold cross-build cost per alias (#3059) - #3126

Merged
zackees merged 1 commit into
masterfrom
infra/3059-cold-numbers
Oct 31, 2026
Merged

zackees merged 1 commit into
masterfrom
infra/3059-cold-numbers

Conversation

@zackees

@zackees zackees commented Oct 31, 2026

Copy link
Copy Markdown
Member

What

Records the missing half of #3059's acceptance in docs/ci-tooling.md: the cold
per-alias cost of the cross build with the link, next to the native
Build OBS-Studio-Rust step times, so the per-job move work under #697 can be
sized from measurement rather than from the object count.

Measured 2026-10-31 on this worker host (16-thread Ryzen 7 3700X, shared with
other worker checkouts), two samples per alias, -j 4 (the GitHub runner
class), fresh build tree per sample, ZCCACHE_DISABLE=1 (its "no-cache
preflight" line confirms the bypass — the cache dir stayed at 4 KB), and
-DOBS_CROSS_LINK=ON so the run also builds that alias's libobs-rust
staticlib and links obs.dll / obs.dylib:

alias sample 1 sample 2 ->
win-x64 31.5 s 40.8 s obs.dll 1,646,080 B
mac-arm64 117.0 s 31.8 s obs.dylib 3,994,096 B
mac-x64 134.3 s 26.4 s obs.dylib 4,013,528 B

The spread is real and is not the C compile set (189–262 Building C/CXX object edges per sample): the slower sample of each pair is the one whose
libobs-rust cargo stage also rebuilt 14–18 workspace crates (4.9–10.1 s of
cargo time), and the rest tracks co-tenant load — a controlled win-x64 repeat
with a fresh zccache directory on a busier box took 52.9 s. So the honest
number is a 30–135 s range per alias, ~1/15 of the native step for the same
platform.

The native comparison in the doc is from release run 41007587429: 12m25 Windows
x64, 8m01 macOS arm64, 7m50 macOS x86_64. Signing and packaging stay native,
as the issue's out-of-scope list says.

Docs-only change, so no RED → GREEN (coordination.md §4); no ci/test_*.py
changed and no behaviour changed. This is the last acceptance item of #3059 —
OBS_CROSS_LINK itself merged as #3123 and the toolchain half as #3091.

Refs #3059, #697

@zackees

zackees commented Oct 31, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator — green CI Gate, auto-merge enabled from worker tick (obs-studio4).

Merged via the queue into master with commit 293cf5f Oct 31, 2026
36 checks passed
@zackees
zackees deleted the infra/3059-cold-numbers branch October 31, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant