upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 20:44:09 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 20:44:09 +0100
commit76b543a09772d754d6d08789aa777ae68d5b3b46 (patch)
treefa9e4772eaa8a7d553e54c771909333efd4d6b64 /runtime/src/main.cpp
parent51dbc5b58e0e7886ddfeed1b0c75e5289c14372c (diff)
tools: d3d12_ab_compare reads an A/B of the D3D12 runtime (D3D12-AB-COMPARE)
docs/measuring_fps.md tells how to read an A/B (neighbouring pairs, the effect with its standard error, ABBA after a throwaway run), but the scripts it named were never in the repository, and testers' two-run verdicts turned out to be noise. `abba` takes runs in the order they ran (folders of scripts/game-gate.ps1 or logs), one value a run (its world median frame time: frames within a run are not independent), pairs neighbouring runs and gives the mean difference with its standard error and a 95 % t interval, the median of the differences and how many agree in sign. It needs at least 4 pairs, as many with A first as with B first, so a linear drift cancels; with 3 runs a side it fits the side and a linear trend instead. It says "B faster" or "B slower" only when the interval leaves 0 out and all pairs but one agree. Gate runs that did not PASS are left out with their pair. `phases` does the same inside one LEONIDA_AB run, per switch, for the median frame time and the `A/B counters` line, leaving out pairs of blocks whose draws a frame differ by more than a tenth. `plan` prints a balanced order. Numbers only, never log text.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions