---
title: "Next CI speed batch"
source: https://github.com/obs-rust/obs-studio/blob/524486a44c81ef30b039f10ab955bc778f39e225/docs/ci-speed-2026-10-22.md
commit: 524486a44c81ef30b039f10ab955bc778f39e225
tier: archive
tokens_est: 9034
---
# Next CI speed batch

> The `docs/ci-evidence/` snapshots linked below are retired from `master`
> (#2686); each link resolves to the commit that last held the file
> (`c2af3f9c3`), and the commands quoted below name those paths as they were
> then.

Tracked in [#1694](https://github.com/obs-rust/obs-studio/issues/1694).
All seven implementation PRs are merged. The final available-run comparison
below uses the shorter observation period explicitly requested by the maintainer.
Earlier sections retain the chronology and expectations recorded before rollout.

## Current-policy baseline

[Evidence](https://github.com/obs-rust/obs-studio/blob/c2af3f9c3e7945566b88440dffb14c255aeebd96/docs/ci-evidence/2026-10-22-speed-batch-baseline.json) covers October 21
22:22:41 UTC (complete-suite rollout) through October 22 02:15 UTC. Both run
listings cover the window: 85 runs listed, 84 terminal runs inspected; one
master push was still running. This is an initial short-window baseline,
not a full post-rollout day. Later cache and product changes are
retained through revisions and paths; these are observational cohorts.

| Successful code cohort | n | Median gate | p95 |
| --- | ---: | ---: | ---: |
| PR | 11 | 849 s | 1,172 s |
| Merge group | 11 | 709 s | 1,197 s |

Platform paths remain mixed in this broad table. Use the evidence's lane
cohorts and records when matching a candidate's selected lanes. API job and
step fields are retained with run IDs, revisions, paths, outcome costs and
cache inventory. Inventory is collection-time state; missing log counters
remain unknown. Recollect using:

```sh
uv run ci/cache_metrics.py --output build_ci_audit/1694-baseline \
  --start 2026-10-21T22:22:41Z --end 2026-10-22T02:15:00Z --per-group 1000
```

## First implementation: repeated Tier 2 setup

Across 59 successful concrete test jobs, checkout took median 10 seconds
(range 8–12), bootstrap installation 15 seconds (9–87) and the full package
installation 34 seconds (28–49). Samples include PR, queue and master work;
this is not a controlled runtime estimate.

Test-only runners unpack a tree whose configure, source compilation and
symbol comparison already passed in the build job. They do not need full
Git history or browser/websocket source downloads. Use a normal shallow
checkout there; retain recursive submodules and full history in the builder.
The harness initializes those submodules only when building. Complete OFF/ON
CTest registries and all runtime package inputs remain unchanged.

Both fresh containers already refresh apt indexes before installing Git.
Reuse those same indexes in their later package install instead of refreshing
them a second time. Package caching, install retries and fail-on-error remain.

### Expected gains recorded before rollout

| Change | Measured opportunity | Expected gate saving / uncertainty |
| --- | --- | --- |
| Shallow test checkout without submodules | 10 s median total checkout per test job | 0–10 s per test runner; checkout overhead remains and overlaps between OFF/ON must not be added |
| Reuse the bootstrap apt index | Part of 34 s median package-install step | Unquantified until step-level runtime comparison; no package install is removed |
| Complete first change | Both test jobs wait for the same build/Fast Gate, then run independently | At most the longest affected path's reduction; no universal gate percentage promised |

Focused RED commit and GREEN results are recorded in the implementation PR.
Further runtime-package/image transfer, Rust rebuild/link, scheduling and
CTest experiments remain required by #1694; these first small setup changes
do not complete the batch. Conditional release/dev dependency cooking stays
unchanged: the existing post-job archive experiment in #1317 supports that
policy and requires a fresh controlled comparison before replacement.

## Rust execution: schedule across existing binaries

The [local experiment](https://github.com/obs-rust/obs-studio/blob/c2af3f9c3e7945566b88440dffb14c255aeebd96/docs/ci-evidence/2026-10-22-rust-runner-experiment.json)
separates a 41.48-second initial no-run compilation from a subsequent
96.34-second Cargo suite command. The latter reported only 0.29 seconds
build work, then ran the eight category executables sequentially. Core,
application and utility execution took 29.27, 29.85 and 18.79 seconds.
A linker-only diagnostic, using the original `cc` behind a timing wrapper,
recorded 35 calls totaling 2.17 seconds of link wall time (overlapping calls;
not gate elapsed). Individual links were at most 0.21 seconds. Changing the
linker identity triggered a diagnostic rebuild, so its 18.15-second outer
command is not an A/B compilation result. These local measurements do not
justify changing linker settings or bypassing cache freshness safeguards.

The candidate uses pinned nextest 0.9.143 on Linux x86-64/aarch64 to schedule
individual tests globally across the same eight binaries. It caps concurrent
tests at four or the available CPU count, whichever is smaller. It builds no
additional Rust test executable, changes no assertion and uses the same
selected packages. Other hosts retain Cargo's existing execution path.

Nextest does not run documentation tests; Cargo runs them separately, even
when a unit suite fails. Both results must pass. The repository's explicit
runner configuration selects all tests, with no retry-to-green; user runner
configuration is disabled. Existing ignored tests retain their status.
An empty workspace is an error; a scoped package with no tests retains
Cargo's existing successful zero-test behavior. The source-freshness probe
now has an actual assertion to exercise this runner before the unchanged
nested-source mutation must fail compilation.

The static upstream archive is SHA-256 pinned and checked before installing
or reusing its executable; unsupported hosts download nothing. Installation
happens only when Rust scope selects tests. No new remote cache writer or
workflow file is added. Runner code/configuration participates in Rust lane
keys, attestation surfaces and workspace scope selection, so changing the
executor cannot reuse an old proof or skip its runtime qualification.

### Expected gain before rollout

| Observation | Cargo | Pinned nextest plus Cargo doctests |
| --- | ---: | ---: |
| Local warm suite command, one trial each | 96.34 s | 64.89 s |
| Passing unit cases | 2,019 | 2,019 |
| Existing ignored case | 1 | 1 |
| Passing documentation cases | 4 | 4 |
| Rust category executables | 8 | 8 |

Cargo discovery was compared by exact passing-case identity across all eight
categories; the only unexecuted discovered case is the existing ignored NVENC
real-GPU test. A separate GNU-binary prototype took 64.18 seconds without
doctests; do not pool it with the complete musl candidate.

The complete local observation is 31.45 seconds shorter, about 32.6%. This is
one warm-tool sample on a local host with Soldr 0.9.34, while CI pins 0.9.38;
it is not an expected whole-gate percentage. Fresh hosted tool download cost,
CPU contention, changed-crate scope and critical-path overlap must be measured.
Use 0–31 seconds as a planning range for this Rust execution phase until CI
qualification; overlap can make gate savings zero. Retain conditional cook
profiles and wrapper/fingerprint safeguards. PR/queue runtime qualification
and the representative post-rollout day remain outstanding.
## Fresh prepared-environment transfer protocol (#1592)

The opt-in `tier2-setup-probe` input on the existing Pull workflow is restricted
to manual master runs. It preserves the normal full build. The final gate includes the optional jobs;
a requested experiment failure fails that manual run. On PRs and queue events,
both experiment jobs are skipped.
It requires the runtime manifest shipped by #1707; do not dispatch until that
change is on master. No new workflow, registry publication, token permission or
remote cache writer is introduced.

One disposable producer installs the actual artifact's exact package closure
on the pinned stock Ubuntu base, retaining checkout bootstrap tools. It records
the complete resolved dpkg inventory, immutable image ID, input pins, compressed
archive SHA256/bytes, revision and pull/install/commit/save/compression durations.
The image and metadata are separate one-day Actions artifacts. Capture the
producer's input download, apt restore and artifact upload step durations too;
these are publication cost, not free savings.

Three fresh stock consumers restore the existing apt archive family and install
the complete locked producer inventory. Three prepared consumers download,
verify, decompress and load that exact image, rejecting a resident prepared
image and inventory drift. Stock consumers download only the small metadata,
so image transfer is not charged to both variants. Join Actions download/restore
step durations with JSON phase durations; neither phase sum alone is total setup.
The stock comparison uses one package transaction rather than CI's separate
bootstrap/install transactions, so report that modeling limit. Record cache hits
and misses from Actions rather than assuming the cache restored.

The first prepared consumer additionally runs both complete OFF/ON suites with
the existing harness and unchanged C tests, at the original artifact paths.
Those logs are retained separately from setup measurements. An experiment pass
is not a lane attestation and cannot skip normal coverage. The manual experiment
uses seven extra runners and does not make its producer part of routine CI.

Before dispatch, expected net benefit is unknown: the historical package-install
portion was 28–49 seconds, but runtime closure reduction changes that baseline,
and archive download/load/verification plus amortized producer cost may consume
all of it. Retain stock setup unless the fresh measurements, coverage and normal
CI provide evidence for a separate deployment decision. Report rejected results
and small-sample variance; do not promise a universal gate percentage.
## Runtime package closure experiment (#1694, #1592)

The builder retains the full development package set. Test runners consume an
exact-version manifest produced from every runtime ELF in the built tree with
`ldd` and `dpkg-query`, plus explicit dlopen providers and tools. Missing loader
libraries or package metadata fail closed. The manifest travels inside the
existing artifact; apt archive restore and master-only publication stay intact.

Local bosn validation used the actual #1700 hosted artifact (run 39711866137,
189,868,667 compressed bytes) at its original absolute paths in the pinned
Ubuntu 26.04 environment. The reduced manifest contained 224 direct package
specifications. Both complete suites used unchanged C tests, Xvfb and the
existing isolation policy:

| Mode | Registered | Executed | Device skips | Failures | CTest seconds |
| --- | ---: | ---: | ---: | ---: | ---: |
| OFF | 353 | 350 | 3 | 0 | 190.63 |
| ON | 353 | 350 | 3 | 0 | 166.96 |

The same Pulse monitor/restart/two-source cases skipped. An initial prototype
was rejected because it lacked the compiler/Ninja needed by the manifest CMake
fixture and the unversioned VLC loader library. Retaining gcc, libc6-dev,
ninja-build and libvlc-dev restored fixture execution and VLC coverage; focused
regressions now require them. Test runners do not configure OBS, but this
unchanged CTest fixture does compile a small C program.

Local Docker-reported `Size` changed from 541,093,691 to 445,476,013 bytes
(17.7% smaller), using the containerd snapshotter. These fields are not verified
uncompressed rootfs sizes or wire-byte counts. This compares package closure, not fresh hosted transfer or
setup latency. Expected setup saving is bounded by the old package installation
portion (baseline 28–49 seconds), with manifest generation and artifact handling
subtracting from any gain. No gate saving is claimed before hosted comparison.
A fresh prepared-image transfer experiment and the post-rollout observation day
remain separate requirements.

### Remaining serial CTest decision

The complete-suite evidence identifies `test_deinterlace_2x_field_order` at
82.60 seconds OFF and 82.88 seconds ON. Inspection of the unchanged test explains
nearly all of that wall time: 40 cases, 16 at source 30 fps and 24 at 25 fps.
Each case sends six warmup frames and 36 measured frames on real timestamps,
then waits 300 ms to drain playback and 250 ms between cases. The first frame
is immediate, so its intended pacing/drain floor is:

`16 × (40 / 30 + 0.55) + 24 × (40 / 25 + 0.55) = 81.733 seconds`.

That is 98.6–99.0% of these observed durations, before accounting for startup,
video resets or additional warmup polling. This is source-derived wall-time
attribution, not a CPU sampling result. The rest of each complete suite is
already scheduled with CTest concurrency and retained cost history; the
runtime evidence records every individual duration for further comparison.

Decision: reject a deinterlace scheduling/algorithm change for this batch.
There is no demonstrated substantial removable computation here. Preserve all
frame-rate/order cases, assertions, real-time pacing and `RUN_SERIAL`; no C test
or public header changes. Do not add its duration to setup/Rust savings, and do
not restore shards. Revisit only if separate profiling establishes a removable
cost while preserving the same real-time correctness coverage and isolation.

### Manifest producer overhead

The first hosted producer took 13.36 seconds to derive its runtime manifest.
A follow-up local cProfile comparison in the same full Ubuntu environment
measured 14.562 seconds before and 7.663 seconds after batching package ownership
queries. The original performed 850 subprocess calls; the candidate performed
621. Package ownership resolution dominated the removed work. Per-path lookup
remains for missing records and loader aliases/diversions, and unresolved
ownership still fails closed. The 224-pin output is byte-for-byte identical.

These are single sequential local profile runs, not a hosted A/B distribution.
The expected additional opportunity is approximately 0–7 seconds of producer
work; the actual hosted result and critical-path overlap remain to be measured.
Normalized function timings and the matching manifest SHA256 are retained in
the runtime experiment evidence. No full-suite assertion or dependency changes
are introduced by this lookup optimization.

### First hosted runtime qualification (before ownership batching)

PR run [39717762825](https://github.com/obs-rust/obs-studio/actions/runs/39717762825)
passed both complete suites after the single-directory artifact upload fix.
Current master added a test since the local snapshot: each mode registered
354, executed 351 and retained only the same three Pulse device skips.
OFF took 165.50 seconds and ON 163.95 seconds. Package installation steps took
28 and 24 seconds respectively, compared with the earlier full-package baseline
median of 34 seconds (28–49 range). This is one qualification run, not a matched
causal comparison; producer overhead and critical-path overlap still apply.
Per-job step timings, test/skip counts, IDs and log hashes are in the evidence
JSON. The ownership batching change requires its own hosted qualification.

The manual producer waits for the normal reusable build to finish, but can
consume its Linux artifact even if an unrelated platform job failed. Cancellation
still prevents the probe, and missing/invalid artifacts fail it. The final gate
continues to require the normal build result: useful setup evidence from a red
full run must never be reported as full-platform qualification.

### Fresh prepared-runtime experiment and production candidate (#1717)

[Hosted run 39721238636](https://github.com/obs-rust/obs-studio/actions/runs/39721238636)
completed successfully at `ee148335c2e1e4780c77c07dec2a3ed50bd4faab`, including
normal full-platform validation and all seven experiment jobs. Portable phase
measurements, transfer step durations, trial/job IDs, producer inventory and
coverage hashes are in
[`2026-10-22-prepared-runtime-experiment.json`](https://github.com/obs-rust/obs-studio/blob/c2af3f9c3e7945566b88440dffb14c255aeebd96/docs/ci-evidence/2026-10-22-prepared-runtime-experiment.json).

| Accounted setup on fresh hosts | Stock Ubuntu + apt | Prepared runtime |
| --- | ---: | ---: |
| Samples | 3 | 3 |
| Median | 55.604 s | 24.510 s |
| Range | 49.997–67.755 s | 24.431–42.751 s |

Accounted setup adds explicitly timed phases to Actions metadata and image
download steps (prepared) or apt-cache restore (stock). Actions timestamps have
one-second resolution. The median difference is 31.095 seconds, about 56% of
this setup model; it is not a whole-gate speedup. Trials use different fresh
hosts and are too few to estimate population p95. The stock model installs the
complete locked inventory in one apt transaction, unlike split production
bootstrap/closure installation. Stock helper teardown adds roughly 10 seconds
of default Docker stop grace plus other cleanup outside the phase model;
whole measurement-step duration must not be called production setup time.

Producer explicit phases totaled 91.326 seconds (including installation,
commit, save and compression), before input download/cache restore, upload
and cleanup. The original transferred archive was 493,209,776 bytes. The
production candidate repacks the same Docker-save OCI contents with the
existing dependency CLI's zstd9 convention: 493,631,934 bytes, SHA256
`5e5102bfb16ef6d9bec4d24fbe3ee3bafa7abb5f565ad7c7308320cf4df5a558`.
The immutable OCI manifest digest and Docker-reported image identity remain
`sha256:84efcd622069129995c242d5af614a664abe6d48b31779d38595f1a7c541f6b5`.
The archive's image config is
`sha256:7362a072406b293ded09f9a52be142367a56bc797e9dbf464ef21feaffaf4986`.
Publication/refresh cost must be amortized over consumers, never treated as free.

Prepared correctness coverage ran both complete suites: OFF189.30 seconds,
ON189.22 seconds; each registered354, passed351, failed0, and retained the same
three Pulse device skips. These experimental suites did not restore production
CTest history, so their duration is not a causal test slowdown comparison.

Decision: qualify a production candidate in #1717. It retains normal timing
history, full OFF/ON coverage, fixed source/build paths, read-only source,
eight CTest workers, deinterlace isolation and trusted master-only cache writers.
Exact package-closure matching selects the prepared image. Changed closures or
unavailable assets select stock installation; integrity failures fail closed.
The descriptor pins the approved dependency-repository asset URL, byte count,
SHA256, base, image identity and full resolved package inventory. No additional
CI credentials, registry or cache writer are required. A unique prerelease
precedes qualification; shared stable catalogue publication waits for success.

Expected gate benefit before candidate rollout: **0–31 seconds**, bounded by
measured setup savings before release-asset transfer differences and critical
path overlap. Adoption still requires actual prepared-path CI execution,
unchanged-suite success, normal queue validation and the final matched
post-rollout observation day. This experiment alone does not satisfy them.

#### First normal production-path qualification

[PR run39726143474](https://github.com/obs-rust/obs-studio/actions/runs/39726143474)
passed the required gate at `4b1dbbc82b65121abb341708f68cbc8a4da72f7c`.
Both consumers selected **prepared**, verified image inventory, and restored
`tier2-ctest-cost-b095a8347f25d1178abc637f5fe99c2e19a868b2`.

| Mode | Prepared setup | Complete CTest | Registered | Executed | Failed | Skipped |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| OFF | 19.627 s | 168.21 s | 355 | 352 | 0 | 3 |
| ON | 30.455 s | 169.23 s | 355 | 352 | 0 | 3 |

The same Pulse monitor/restart/two-source cases skipped. This revision includes
one more registered case than the earlier setup experiment; coverage was not
reduced. Setup includes release download, verification, decompression/load,
container creation/start and inventory verification. Host checkout, apt/history
cache restore and compiled-tree download/unpack remain separate Actions steps.
Raw per-mode measurements, step timestamps and full-log hash are preserved in
[`2026-10-22-prepared-runtime-qualification.json`](https://github.com/obs-rust/obs-studio/blob/c2af3f9c3e7945566b88440dffb14c255aeebd96/docs/ci-evidence/2026-10-22-prepared-runtime-qualification.json).
This is one qualification run on a different revision, not a matched population
estimate. Runner allocation delays dominated portions of the run and remain
separate from setup execution. Final-head PR and queue validation, catalogue
publication, and the final post-rollout day are still required.

### Rollout and post-merge qualification

#1717 merged through the normal queue on October22 at05:50:37UTC,
`0e42adcfeff236099f7b8f7cecff054c267079ab`.
[Queue run39729486071](https://github.com/obs-rust/obs-studio/actions/runs/39729486071)
passed. The final PR run39728550270 tested merge checkout
`05ef92bb97cfc543d7481534978b2bb33924eb3b`, rather than only its head SHA.
Catalogue [obs-studio-libs#7](https://github.com/obs-rust/obs-studio-libs/pull/7)
merged at05:51:29UTC; the verified release asset was promoted without replacing
bytes. This completes deployment, not the required representative-day analysis.

| Qualification | Mode | Prepared setup | CTest | Registered | Executed | Failed | Skipped |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: |
| Final PR39728550270 | OFF |32.461s|168.39s|357|354|0|3|
| Final PR39728550270 | ON |32.712s|192.13s|357|354|0|3|
| Queue39729486071 | OFF |36.068s|166.39s|357|354|0|3|
| Queue39729486071 | ON |34.629s|192.92s|357|354|0|3|
| Later master39733445653 | OFF |16.337s|169.24s|359|355|0|4|
| Later master39733445653 | ON |20.984s|194.38s|359|355|0|4|

All rows selected prepared and verified inventory. Master
`5d0f6a7707f4c1386dd2e1e0ded18864191b9691` restored prior history,
uploaded timing files, merged359reported non-separator lines per mode, and
saved `tier2-ctest-cost-5d0f6a7707f4c1386dd2e1e0ded18864191b9691`
in trusted master job119676285297. This verifies publication, not just restore.
The full master run later concluded failure: Linux qualifications and trusted
cache publication passed, while the Windows Tier2 job failed. Keep that overall
outcome and platform runner cost in the day comparison.

The latest source adds `test_pulse_monitor_samples` to the prior358-case
registry, removing no cases. Its fourth skip joins the three earlier Pulse
prerequisite skips. These wrappers start private software sound servers and
need no hardware; they allow exit77 when software prerequisites are absent.
The prepared inventory contains `pipewire`, but lacks `wireplumber`,
`pipewire-pulse` and `pulseaudio-utils` (which provides `pactl`/`parec`).
Preserve case identities and source revisions in comparisons; do not describe
this source-added skip as a removed assertion or a hardware requirement.

#### Unexplained portal alarm retained in results

[Master39730342498](https://github.com/obs-rust/obs-studio/actions/runs/39730342498)
at `8534113ae7b0ad5282c7c4c03a835363d016ed30` passed Linux ON, but OFF
failed `test_screencast_portal_teardown`: its unchanged child alarm delivered
SIGALRM14 after20seconds. The full358-case suite executed355, failed1 and
retained3Pulse skips; CTest took180.46seconds. Prepared setup/inventory
verification succeeded. Both timing artifacts uploaded, and aggregation/cache
save correctly skipped because one suite failed. No blind CI rerun, increased
timeout, assertion change or skip was used to turn that observation green.

The exact artifact and test binary were exercised locally through bosn:

| Environment | Isolated portal | Eight-process portal stress | Complete OFF |
| --- | ---: | ---: | --- |
| Prepared runtime |30/30passed|200/200passed|358registered,355executed,0failed,3skipped;202.75s|
| Previous full-development-package image |—|200/200passed|358registered,355executed,0failed,3skipped;192.05s|

The control satisfies all224required runtime pins. All486shared package
versions match; it has203additional development packages. Every stress log
confirms one executed passing cmocka case and no inner skip, in addition to
exit0. Each worker stops on failure; child20-second and outer60-second limits
remain. These diagnostics do not reproduce or explain the hosted alarm and
are not a fixed claim or causal image comparison. Local kernel6.18.48 differs
from hosted7.0.0-1017-azure, complete-suite historical ordering differed, and
the stress runs eight copies of one fixture rather than a mixed suite.
The local full-package control image is not a published artifact; its locked
inventory is preserved, but an immutable apt snapshot is not supplied.

A separate Windows failure predates this rollout: pre-rollout
run39728526955/job119660751156 and post-rollout
run39730342498/job119666870978 both fail linking `test_video_output_plan`
with unresolved `cm_print_error`. Keep platform failures and their runner cost
visible without attributing them to Linux runtime execution.

Portable qualification records, locked control inventory, raw stress result
rows and hashes are in
[`2026-10-22-prepared-runtime-post-rollout.json`](https://github.com/obs-rust/obs-studio/blob/c2af3f9c3e7945566b88440dffb14c255aeebd96/docs/ci-evidence/2026-10-22-prepared-runtime-post-rollout.json).
The original fixed24h protocol was superseded by the maintainer’s request to
use the completed runs available now. The final comparison below records that
amendment and retains the original protocol rather than presenting a partial
window as a full day.

## Batch decisions and retrospective

These implementation decisions precede the final population comparison. Phase
measurements below overlap and must not be summed into a gate saving.

| Area / owner | Decision | Evidence and limit |
| --- | --- | --- |
| Repeated setup / #1592 | Adopt shallow test checkout and reuse apt indexes (#1700) | Builder retains full source setup; initial checkout median10s is an opportunity, not an isolated measured saving. |
| Dependency scheduling / #930 | Adopt independent test readiness (#1701) | Tests may start after their builder without waiting for Fast Gate; Fast Gate remains required. Baseline median opportunity was0s, so benefit depends on the run. |
| Rust execution / #1286 | Adopt pinned nextest with separate Cargo doctests (#1706) | Same eight binaries and discovered cases; one local warm command96.34→64.89s. Hosted download, scope and overlap constrain gate benefit. |
| Rust compilation / #1286 | Retain conditional dependency cooking; reject linker changes in this batch | Diagnostic links totaled2.17s across overlapping calls; changing linker identity forced a rebuild. This does not establish a beneficial compiler/profile change. |
| Runtime closure / #1592 | Adopt exact runtime pins and batched ownership lookup (#1707) | Manifest unchanged; local lookup14.562→7.663s. Runtime fixture compiler and explicit dlopen providers remain installed. |
| Prepared transfer / #1592 | Adopt qualified immutable runtime (#1708, #1717); retain mixed gate outcome | Three fresh trials per variant gave accounted setup medians55.604→24.510s. Publication cost, stock-model differences and hosted failures remain visible. |
| Remaining CTest / #1694 | Reject deinterlace changes; preserve complete suites and isolation | Intended real-time pacing accounts for81.733s of observed82.60/82.88s. No substantial removable computation was established. |
| Measurement / #1694 | Adopt nextest-aware collection and preserve historical comparison bases (#1710) | Missing counters remain unknown. Collector stayed frozen; the maintainer explicitly shortened the observation window. |

The useful process improvements are to measure the dependency path before
optimizing a phase, include fresh-runner transfer and publication costs, and
separate source-added test cases from regressions in coverage. A successful
Linux qualification cannot stand in for a successful platform run. Preserve
failed and canceled runner cost alongside successful latency, and investigate
intermittent failures with exact artifacts and controls before assigning cause.

Per-PR file inventories for all seven changes show no new workflow files,
no C test source edits, no libobs header edits and no changes under
`plugins/obs-websocket/`. This audit uses each PR's changed files; an aggregate
master range also contains unrelated concurrent product work and cannot prove
ownership of changes. The final available-run conclusions follow; broader owning issues retain any
unproven targets.

## Final available-run comparison — October 22

The maintainer explicitly waived the24-hour wait and requested results from
the merged PRs already available. The replacement created-at window is
**October22,05:52:00–07:12:45UTC** (80minutes45seconds). Collection finished
at07:15:39UTC using the unchanged frozen collector from `ee148335`.
Both workflow listings cover the window:36runs listed,29terminal records
inspected,7queued/active runs retained in the listing but excluded from
terminal metrics. This is a short-window observational comparison, not a
full-day or controlled causal estimate. No CI run was restarted for measurement.

### Same selected Linux build lanes

Match successful code runs by the exact active build-job signature: Fast Gate,
Linux Tier2builder, complete OFFsuite and complete ONsuite. Exclude metadata,
CI-mode and the Linux aggregate from the signature. Keep PR and merge-group
events separate; exclude Qt and native platform lanes from this comparison.
The baseline is the same October21,22:22:41→October22,02:15UTC window,
now enriched to85terminal records without changing historical comparisons.

| Metric | Before | After | Observed change |
| --- | ---: | ---: | --- |
| PR sample size |5|3|Same selected build lanes |
| PR median gate |691s (11m31s)|555s (9m15s)|136s /19.7% faster |
| PR sample p95 gate |849s|633s|25.4% lower |
| PR median runner-minutes |19.783|18.417|6.9% lower |
| Merge-group sample size |5|2|Same selected build lanes |
| Merge-group median gate |526s (8m46s)|560.5s (9m20.5s)|34.5s /6.6% slower |
| Merge-group sample p95 gate |709s|574s|19.0% lower |
| Merge-group median runner-minutes |18.167|16.367|9.9% lower |

Sample p95 uses nearest rank and is the maximum in these small groups; it is
not a stable population tail. Runner-minutes sum observed non-skipped job
start→finish time, including failed/canceled jobs in the outcome table below;
they are not billed minutes or CPU time. The raw run IDs, revisions, file
comparisons, job/step times and exact selection are preserved in the evidence.

The result supports lower PR latency and lower runner time in these cohorts.
**It does not establish faster merge-queue throughput.** Do not substitute the
broad code medians849→496s (PR) or709→352s (queue): the after groups also
contain Qt-only and Fast-Gate-only changes, which ran fewer/different lanes.
Native platform performance has no successful matched after cohort here and
cannot be inferred from Linux.

### Where the time went

| Matched successful-job median | PR before→after | Queue before→after |
| --- | ---: | ---: |
| Fast Gate total |154→297s|171→166s|
| Tier2builder total |381→222s|208→210.5s|
| Actual builder step |249→96s|78→85s|
| Complete OFF test job |251→213s|248→205.5s|
| Complete ON test job |248→240s|246→237s|

The OFF job saves38–42.5seconds in these samples, while the ON job saves only
8–9seconds. ON CTest itself grew from roughly168–169seconds to190–193seconds
as source/tests changed; setup savings must not be mistaken for faster tests.
The after prepared setup observations span14.78–27.59seconds, with inventory
verified in every matched mode. They complement the fresh transfer experiment’s
55.604→24.510second setup medians, rather than replacing it with resident-image
measurements. The routine builder still installs its full package environment.

Selected lanes do not imply identical work: the PR Fast Gate changed-crate test
step median was1second before and145seconds after. The latter includes broader
Rust work; builder compilation/cache state also differs. Thus the136-second PR
gate improvement is an observed batch-era delta, not153seconds of causal
compiler savings. The controlled warm Rust experiment and ownership-lookup
experiment above provide separate phase evidence. Do not sum their savings.

### Outcomes, coverage and cache limitations

These outcome counts/costs include every terminal code run in each event,
including Qt/native selections; they are not restricted to successful matched
Linux runs. Windows failures and a pre-window hosted portal alarm remain
visible in the qualification section. This sample does not establish unchanged
failure rates or explain the intermittent portal alarm.

| Terminal code outcomes | Before count / runner-minutes | After count / runner-minutes |
| --- | ---: | ---: |
| PR success |11 /346.483|5 /77.316|
| PR failure |2 /46.084|3 /75.001|
| PR cancellation |7 /64.950|8 /189.134|
| Merge-group success |11 /364.617|5 /58.550|
| Merge-group failure |0 /0|1 /19.117|
| Merge-group cancellation |0 /0|0 /0|

The periods differ in duration; do not compare these totals as equal-load daily
costs. Cancellation cost rose substantially and offsets savings elsewhere.
No canceled or failed work is removed from the evidence. Logs are unavailable
for17baseline and10after records, all canceled; their metadata/outcome costs
remain, and missing counters remain unknown.

All20baseline matched mode runs registered353cases, executed350and retained
the same3Pulse prerequisite skips. The10after matched modes registered358–360,
executed355–356, failed0, with3–4skips. New source adds the fourth software
Pulse prerequisite skip described above. Exact skipped identities and each
revision are recorded; increasing registrations are not evidence of identical
test work. The batch retains complete suites without adding a runner filter or sharding;
registration counts alone do not prove identical case contents.

Cache inventory at collection changed from10,726,575,303bytes/37entries to
9,302,540,076bytes/40entries. These are point-in-time inventories, not transfer
bytes or proof of equal warm-cache state. Per-run archive sizes, compiler and
Rust markers remain in the raw records; no uniform cache-hit-rate claim is made.
The published runtime asset is493,631,934compressed bytes; its producer’s
91.326seconds of explicit phases is amortized over reuse, not counted as free.

### Final decisions

Keep the deployed setup, scheduling, runtime-closure and Rust-runner changes:
they have focused regression coverage, normal PR/queue qualification and measured
phase or runner-cost benefits. Keep the existing cooking policy and reject an
unsupported linker/deinterlace rewrite. The batch is implemented and measured
under the maintainer’s amended scope. The broader under8-minute queue target
in #930 and cache backlog in #1286 remain open. #1592 retains its stronger
net-gate adoption criterion: this mixed queue result does not prove that target,
even though prepared setup and normal rollout are qualified.

Evidence:
[`2026-10-22-speed-batch-comparison.json`](https://github.com/obs-rust/obs-studio/blob/c2af3f9c3e7945566b88440dffb14c255aeebd96/docs/ci-evidence/2026-10-22-speed-batch-comparison.json)
contains selection, samples, phases, coverage, outcomes and limitations;
[`2026-10-22-speed-batch-short-window.json.gz`](https://github.com/obs-rust/obs-studio/blob/c2af3f9c3e7945566b88440dffb14c255aeebd96/docs/ci-evidence/2026-10-22-speed-batch-short-window.json.gz)
contains all85baseline and29after normalized records, summaries and complete
listings, including the7unresolved runs at capture. Decompress with
`gzip -dc docs/ci-evidence/2026-10-22-speed-batch-short-window.json.gz`.
