Skip to content

ci: measure isolated libobs unity and PCH build gains - #1306

Merged
zackees merged 3 commits into
masterfrom
infra/1286-libobs-benchmark
Oct 17, 2026
Merged

zackees merged 3 commits into
masterfrom
infra/1286-libobs-benchmark

Conversation

@zackees

@zackees zackees commented Oct 17, 2026

Copy link
Copy Markdown
Member

Publish reproducible timings for the C libobs target alone, separately from the earlier full native-build benchmark. Add a measurement helper, raw trial/cache/environment evidence, and scoped results linked from BUILD.md.

On the same GCC 15.2 / RelWithDebInfo / -j8 host, three uncached trials gave median wall time 9.749 → 9.407 s (overlapping ranges) and CPU time 63.482 → 46.620 s. Three warm ccache rebuilds gave 1.543 → 1.435 s, all hits in both revisions. These measurements do not establish a 37% libobs wall-time improvement; that older figure belongs to a broader application build. The comparison also includes intervening source changes and records that limitation.

Validation: actual pre-unity and current C libobs builds, three uncached trials each and initial-population plus three warm rebuilds each. All builds succeeded; all six measured warm trials have the recorded 100% cache hits. The helper removes only dedicated benchmark outputs with safe-rm and preserves existing build directories/global caches. Ruff and diff checks pass. Measurement/documentation work needs no artificial RED test.

Refs #1286.

@zackees
zackees added this pull request to the merge queue Oct 17, 2026
Merged via the queue into master with commit e511f1c Oct 17, 2026
29 checks passed
@zackees
zackees deleted the infra/1286-libobs-benchmark branch October 26, 2026 15:45
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