Repository navigation
docs(ci): record the measured cold cross-build cost per alias (#3059) - #3126
Merged
Merged
Conversation
Member
Author
|
Handed off to the coordinator — green CI Gate, auto-merge enabled from worker tick (obs-studio4). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Records the missing half of #3059's acceptance in
docs/ci-tooling.md: the coldper-alias cost of the cross build with the link, next to the native
Build OBS-Studio-Ruststep times, so the per-job move work under #697 can besized 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 runnerclass), fresh build tree per sample,
ZCCACHE_DISABLE=1(its "no-cachepreflight" line confirms the bypass — the cache dir stayed at 4 KB), and
-DOBS_CROSS_LINK=ONso the run also builds that alias'slibobs-ruststaticlib and links
obs.dll/obs.dylib:win-x64obs.dll1,646,080 Bmac-arm64obs.dylib3,994,096 Bmac-x64obs.dylib4,013,528 BThe spread is real and is not the C compile set (189–262
Building C/CXX objectedges per sample): the slower sample of each pair is the one whoselibobs-rustcargo stage also rebuilt 14–18 workspace crates (4.9–10.1 s ofcargo time), and the rest tracks co-tenant load — a controlled
win-x64repeatwith 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_*.pychanged and no behaviour changed. This is the last acceptance item of #3059 —
OBS_CROSS_LINKitself merged as #3123 and the toolchain half as #3091.Refs #3059, #697