Performance optimization evidence - 2026-10-10

Input: build/windows/Release/build/captures/performance-62898951800
Scene: regular race; the user believes Airport Terminal 3. Track unconfirmed.
CPU: AMD Ryzen 5 5600X, 12 logical processors.
GPU: NVIDIA GeForce RTX 5060 Ti.
Settings: 60 Hz, 1x internal resolution, interpolation off, VSync on.
Target SHA-256: B5207C40C11D7C5B5E129EF555F7632FA3584A4240BD0421C2B1B9AD9BFED7BF
The native inspector accepted the recording before and after this batch.

Recording: 16.551 s, 724 source-frame records, no dropped/partial GPU coverage.
The 723 complete eligible source intervals average 43.748 FPS, calculated from
their count divided by their summed interval duration; the initial partial frame
is excluded. This is the pre-optimization baseline used for release 1.1 figures.
Source interval median 23.117 ms, p99 30.842 ms, maximum 37.365 ms.
Measured GPU spans: median 7.807 ms, p99 14.858 ms; exclude idle gaps/GUI.
Exclusive main-thread wall time: guest 6454 ms, uploads 3376 ms, GPU packet
processing 2255 ms, GPU waits 1766 ms, platform bindings 1318 ms.
954712 draws, 3800355 buffer maps, 8891751148 uploaded bytes, 88211 fences.
No gameplay shader compilation or over-budget audio mix batches were recorded.
RAM peak: 555753472-byte working set, 541007872-byte private allocation.
Cooperative checkpoint samples indicate addresses, not exact function costs.
Bounded original-byte analysis identified 0021FA80 as part of the SDK's stream
binding packet writer in 0021F9C0, rather than a new native platform binding.

Changes:
- Append vertex/index data using WRITE_NO_OVERWRITE; WRITE_DISCARD only at wrap.
  Preserve all stream offsets, including the current-attribute stream.
- Compare constants with CPU copies; upload only changed complete values.
- Copy complete, aligned shader-bank packets and inline arrays in bounded blocks.
  Preserve register contents, method counts and partial-upload semantics.
- Share GPU completion queries only where no intervening guest GPU work exists.
  Retain each semaphore slot's latest value until its completion query succeeds.
  Draws, clears, transform launches and flips advance the completion position.
  This prevents duplicate signals from exhausting the 64-query pool.

Offline hardware comparison, 32770 small queued draws with unchanged constants:
Before: 404.954 ms submission, 131080 maps, 137634000 uploaded bytes.
After:  255.055 ms submission, 65542 maps, 11276736 uploaded bytes.
About 37% less submission time, 50% fewer maps, 92% fewer uploaded bytes.
This is a component workload, not a measurement of gameplay FPS.

Validation: 181 rendering cases pass on RTX 5060 Ti and WARP with no D3D11
messages. All 158 comparable before/after PNGs have identical SHA-256 hashes.
4098 fence requests spanning new GPU work use 3 queries with no pool-capacity
waits; all 24 semaphore words have the expected final values on both devices.
Hidden window/presentation checks pass without booting the game.
Reports: build/checks/perf-opt-render-before, perf-opt-render-after,
perf-opt-render-warp, perf-opt-window.png.performance, perf-opt-inspect-final.
The game was not booted for this batch. The following user recording measures
its effect during gameplay.

Primary interfaces:
https://learn.microsoft.com/en-us/windows/win32/api/d3d11/ne-d3d11-d3d11_map
https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-flush

Second recording - 2026-10-10

Input: build/windows/Release/build/captures/performance-48161261900
Same hardware and 60 Hz/1x/interpolation-off/VSync-on settings as above.
The user supplied this as the repeat recording; its exact track is unconfirmed.
13.499 s, 719 source-frame records; complete GPU coverage and no recorder limits.
The native inspector accepted the binary; build/checks/perf-second-inspect.

                                 First recording       Second recording
Source interval median          23.117 ms               19.620 ms
Source interval p99              30.842 ms               21.980 ms
Source interval maximum          37.365 ms               23.952 ms
Measured GPU spans median         7.807 ms                2.709 ms
Measured GPU spans p99           14.858 ms                4.581 ms
Working-set peak                530.0 MiB               255.9 MiB
Private-memory peak             515.9 MiB               237.4 MiB

Typical source intervals fell about 15%; the recording still misses 16.67 ms.
Draw/vertex counts are similar: 954712/165231261 versus 952706/164747322.
Normalize costs by source frames when comparing recordings of different length.
Upload wall time fell from 4.663 to 0.838 ms per source-frame record.
Guest time remains about 8.9 ms; GPU waits grew from 2.439 to 2.858 ms.
Other second-recording costs: packets 2.674 ms, platform 1.645 ms, draws 1.135 ms,
resources 0.548 ms per record. Main-thread CPU utilization is 94.5% of one core.
No shader compilation or over-budget audio mix batches were recorded.
These measured GPU spans exclude idle gaps and the settings overlay.

Second optimization batch, original-byte evidence:
- 0021B080 compares (issued - requested) with (issued - completed), unsigned.
  Its completion word is *[002256C0+30], issued counter [002256C0+2C].
  It returns for completed fences, and calls 0021AFD0 when requested == issued.
- 0021AFD0 emits NV097 1D70 with that counter and advances it by two. Its
  original compiled implementation remains responsible for fence insertion.
  Native waiting formerly ignored the requested token and drained the GPU.
- Query-pool exhaustion formerly also drained all pending completions instead
  of freeing the oldest available slot. The new wait stops at its condition;
  completion polling uses DONOTFLUSH after one explicit submission flush.
- Push-buffer RAM is validated once per <=4 MiB submission. Header/payload
  checks remain per packet, and scalar words use memcpy for unaligned input.
- 0022EC59 combines listener/source dirty masks. Listener bits are low 7;
  source bits are high 16. The listener's derived orientation at +44 is kept
  when valid bit 40 is set. The native wrapper previously erased this state
  and set both masks to FFFFFFFF on every voice calculation. It now retains
  listener state and keeps source dirtiness in its original high word.
  Position, velocity, orientation and factors are compared byte-for-byte;
  new values still take effect immediately or on the original deferred commit.

Analysis is bounded to those original function entries and verified target bytes.
Reports: build/perf-second-fence.json, perf-second-fence-insert.json,
perf-second-spatial.json. Indirect edges are explicitly unresolved in the first
and third analysis reports; no new invented callback or CPU binding was added.
Recording keeps its existing binary layout, splits GPU waits by reason, and
identifies the running executable's PE link stamp instead of the compilation
time of performance.cpp, which had stayed unchanged between earlier rebuilds.

Additional primary interfaces:
https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-getdata
https://learn.microsoft.com/en-us/windows/win32/api/d3d11/ne-d3d11-d3d11_async_getdata_flag

Second-batch validation:
- Release rebuilt successfully; no game boot or automated gameplay.
- RTX 5060 Ti and WARP: 182/182 render cases, no D3D11 messages.
  All 160 comparable first-batch PNGs have identical SHA-256 hashes.
- 130 ordered clear/fence completion points cross the 32-bit counter boundary
  and the 64-query pool limit. Waiting for a requested/old token creates no
  extra query; the final completion word and blue target image match.
- 54 spatial checks pass, including exact cold/reused SDK output comparisons
  across all listener fields, source modes, mutable curves and environment.
  All 31 original listener-binding checks and 44 native audio checks pass.
  The 1000-call fixed-state microcase was 4.630 ms before and 4.370-5.126 ms
  after. It does not establish a sound-service timing gain in gameplay.
- Native recorder checks, the existing recording's binary inspection and the
  hidden window/presentation/performance-capture checks pass.
Reports: build/checks/perf-second-render, perf-second-render-warp,
perf-second-spatial-after, perf-second-audio, perf-second-recorder,
perf-second-inspect-final and perf-second-window.png.performance.
Next: a manual F9 recording in the same race/settings must measure this batch's
real frame-time effect and distinguish GPU polling, capacity and requested waits.

Third recording / regression - 2026-10-10

Input: build/windows/Release/build/captures/performance-48963045700
Same hardware and 60 Hz/1x/interpolation-off/VSync-on settings as above.
The user suspects a regression; the exact scene is unconfirmed.
Executable: PE 6ACA66DA, image 55316480 bytes.
19.718 s, 731 source-frame records; complete GPU coverage and no recorder limits.
Native inspection: build/checks/perf-third-inspect.

                                 Second recording       Third recording
Source interval median          19.620 ms               27.231 ms
Source interval p99              21.980 ms               30.914 ms
Source interval maximum          23.952 ms               34.341 ms
Measured GPU spans median         2.709 ms                2.595 ms
Measured GPU spans p99             4.581 ms               12.724 ms
Working-set peak                255.9 MiB               205.3 MiB
Private-memory peak             237.4 MiB               189.9 MiB

Per source-frame record, guest time is unchanged (8.895 -> 8.888 ms).
Packet processing improves (2.674 -> 1.984 ms), but GPU-wait wall time grows
2.858 -> 11.476 ms. The full idle operation runs 85643 times, about 117 per
frame, taking 8398.133 ms. Similar draws/vertices, no shader compilation,
no audio budget overruns, and no capture IO explain the frame-time regression.

Root cause: NV097 WAIT_FOR_IDLE (method 0110) was implemented as a D3D11 event
query plus a blocking CPU wait. Changing completion polling to DONOTFLUSH
preceded the increase in wait time; its driver cost was not measured separately.
This push-buffer method orders GPU work;
it does not ask the submitting CPU to wait. The bridge uses a single immediate
context, with ordered native draws/copies and owned uploads, so queued draws
must be submitted before the next method, without a CPU completion query.
CPU-visible semaphore releases, SDK requested fences, transform-result readback
and explicit CPU-idle requests retain their actual completion mechanisms.
The bounded query pool and requested-counter fixes remain in place.

Evidence: xemu's NV097 WAIT_FOR_IDLE handler updates the rendering surface and
does not invoke its CPU-side fence/wait mechanism. Microsoft specifies that
UpdateSubresource snapshots its CPU source before returning, including when
prior GPU work still uses the resource. Our dynamic vertex/index arena appends
unused space, or discards at wrap, preserving in-flight uploads. The bridge's
flush() snapshots queued guest vertices/constants into these native buffers.
All rendering and framebuffer/texture copies use the same immediate context.
These are GPU interface references, not gameplay visual references.
https://github.com/xemu-project/xemu/blob/master/hw/xbox/nv2a/pgraph/pgraph.c
https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-updatesubresource
https://learn.microsoft.com/en-us/windows/win32/api/d3d11/ne-d3d11-d3d11_map

Reports now show every recorded GPU-wait reason in JSON and the text report,
including small operations omitted from the top 32 hot operations. Existing
binary captures remain readable; the recorder's binary layout is unchanged.

Third-batch validation:
- Release rebuilt successfully. No game boot or automated gameplay.
- RTX 5060 Ti and WARP: 183/183 render cases, no D3D11 messages.
  All 164 comparable second-batch PNGs have identical SHA-256 hashes.
- 1024 partial clears interleaved with WAIT_FOR_IDLE preserve all 64 red/blue
  rows, use only the one requested semaphore query, and incur no pool waits.
  CPU submission is 5.433 ms on RTX and 8.793 ms on WARP. These are component
  timings, not before/after gameplay FPS. Explicit CPU idle still adds its own
  query; the real semaphore publishes only on completion.
- The 130 ordered clear/fence points retain exactly 130 semaphore queries with
  intervening GPU barriers, cross the 64-query pool and 32-bit counter boundary,
  and preserve the final completion word and blue image.
- Barriers also run after queued draws and between cubemap face writes;
  reflection, framebuffer-feedback and shadow cases retain identical images.
- Native recorder checks and binary inspection of the first and third captures
  pass. The third capture contains two wait buckets: GPU idle 85643 calls /
  8398.133 ms; completion polling 3041 calls / 1.900 ms. Other wait types were
  absent, explaining why optimizing requested fences did not improve this run.
- Hidden window/presentation/performance-capture checks pass without booting.
  All 54 tracked worker records were audited; no owned processes remain.
Reports: build/checks/perf-third-render, perf-third-render-warp,
perf-third-recorder, perf-third-inspect-final, perf-third-inspect-legacy and
perf-third-window.png.performance.
Next: repeat the same manual race/settings and record with F9 to establish
gameplay frame times after removing the repeated CPU round trips.

Fourth recording / GPU-stall fix confirmed - 2026-10-10

Input: build/windows/Release/build/captures/performance-44328897300
Same Ryzen 5 5600X / RTX 5060 Ti and 60 Hz/1x/interpolation-off/VSync-on settings.
The user supplied this as the next repeat recording; exact scene unconfirmed.
Executable: PE 6ACA6DD6, image 55316480 bytes.
12.017 s, 705 source-frame records (704 eligible complete intervals).
Native inspection passes: build/checks/perf-fourth-inspect. No owned workers
remain. All GPU frames are complete; no capture IO, recorder limit hits,
gameplay shader compilation or audio mix budget overruns.

                                 Third recording        Fourth recording
Source interval median          27.231 ms               16.703 ms
Source interval p99              30.914 ms               19.230 ms
Source interval maximum          34.341 ms               21.549 ms
Work wall time median           27.167 ms               15.755 ms
Work wall time p99               30.838 ms               19.166 ms
Measured GPU spans median         2.595 ms                4.040 ms
Measured GPU spans p99           12.724 ms                5.566 ms
GPU wait per frame record        11.476 ms                0.003 ms
Working-set peak                205.3 MiB               204.6 MiB
Private-memory peak             189.9 MiB               187.5 MiB

The typical interval improves about 39% from the regressed run, and about 15%
from the previous best 19.620 ms recording. Frame volume remains comparable:
1321 draws/228612 vertices per third-recording frame versus 1321/228433 now.
GPU idle waits disappear entirely. Only completion polling remains, 3083 calls
and 2.216 ms over the entire recording. Logical fence requests drop from 87719
to 2114 across recordings of different length; about 120 -> 3 per frame record.

The 704 complete source intervals average 58.632 FPS. Intentional pacing now
consumes 1045.700 ms; typical work fits the 16.667 ms budget, but sustained
60 FPS is not established. 289/704 frames exceed that work budget, 105 exceed
18 ms of work, and two source intervals exceed 20 ms. A paced 16.703 ms median
alone is not sufficient to claim a locked frame rate.

Remaining main-thread costs per frame record: compiled guest code 9.221 ms,
GPU packets 1.950 ms, platform services 1.754 ms, draws 1.125 ms, buffer uploads
0.808 ms and resources 0.544 ms. Main-thread CPU utilization is 87.5% of one
core. GPU spans have headroom; the remaining over-budget frames have heavier
main-thread work. Under-budget frames average 1172 draws and 8.409 ms of guest
time; over-budget frames average 1533 draws and 10.417 ms of guest time.
The worst frame has 1530 draws, 10.843 ms guest, 4.302 ms platform, 2.941 ms
packets and 5.960 ms measured GPU spans. These show workload correlation,
not precise original-function costs. Cooperative checkpoint addresses remain
hints; no new native SDK binding or speculative CPU change is justified by
those sample counts alone. No runtime change or rebuild was needed to verify
this recording. Additional scene coverage and focused CPU profiling remain
necessary before claiming the performance target across modes.

2026-10-10: remaining CPU work, static floating-point blocks

The fourth recording's checkpoint hints include 227C14 and 227C7B inside the
original SDK matrix routine 227BD9. Original generation called a MASM helper
for every x87 instruction and rewrote floating provenance from C++ each time.
These hints locate a candidate; their sample counts are not function timings.

The compiler now groups 4..32 consecutive ordinary x87 instructions into one
native block, without crossing a branch target, integer instruction, control
operation or CPU-flag comparison. It emits the same arithmetic opcodes and
order, using validated native pointers in place of guest addressing. Each
instruction still records its original address, opcode and memory provenance.
Code remains entirely ahead of time. No added dependency, decoding, runtime
compilation, mathematical replacement or heap allocation is involved in execution.
Diagnostic execution retains the individual original compiled instructions.
Failed memory preflight also takes that path, preserving earlier stores and
the floating state at the fault. Scheduler checkpoint locations are unchanged.

7392 blocks are emitted across the existing 36047-function native table.
A small unfused copy of the original matrix routine supports offline comparison
and timing. The checks cover 24/53/64-bit precision, four rounding modes, four
input/output alias layouts, finite values, signed zero, infinity and NaN; plus
invalid input/output boundaries. All 242 comparisons pass, including memory,
integer registers/flags, return state, floating status/tags and provenance.

Ryzen 5 5600X component timings, including call setup and output checksum:
                         Fused             Unfused
100000 matrix calls      300.473 ns/call   568.405 ns/call
1000000 matrix calls     304.392 ns/call   573.426 ns/call
Matching checksums in both runs; approximately 47% less matrix CPU time.
This is a component result, not a measurement or prediction of gameplay FPS.

Build: PE 6ACA7902, image 61521920 bytes, executable 61496320 bytes.
The added static blocks increase the executable by 6208000 bytes; operand
descriptors use bounded temporary stack space, with no new persistent buffer or
per-frame heap allocation. Full static rebuild succeeds.
745 recorded build-worker identities were checked after completion: none remain.

Offline CPU validation passes: 52 game cases, 21976 instruction cases, 469 memory
cases, 6482 floating cases and 109 control cases. Audio passes 44 cases; spatial
sound passes 54 cases and the original listener binding checks pass 31 cases.
The performance recorder check and reinspection of the fourth recording pass.
Rendering passes all 183 cases on RTX 5060 Ti with no D3D11 warnings; all 165
shared output PNGs match the preceding render run byte for byte.
No game boot or computer use was performed. Repeat the same busy gameplay
section at 60 Hz/1x/interpolation off to establish the actual frame-time change
and identify any further bottleneck; a sustained 60 FPS claim still needs that
manual capture and broader scene coverage.

Fifth recording / static floating-point batching confirmed - 2026-10-10

Input: build/windows/Release/build/captures/performance-44743569200
Same Ryzen 5 5600X / RTX 5060 Ti, 60 Hz/1x/interpolation-off/VSync-on settings.
Executable PE 6ACA7902, image 61521920 bytes matches the floating-block build.
11.945 s, 717 frame records; the initial partial frame is excluded, leaving
716 complete source intervals. Native binary inspection succeeds:
build/checks/perf-fifth-inspect. The native tool exits successfully, with no
owned worker remaining. All 717 GPU records are complete, with no missing
spans, recorder limit hits, capture IO, shader compilation or audio overruns.
Exact track remains unconfirmed. Comparisons use the supplied repeat recording
and measured workload, rather than assuming identical gameplay.

                                Fourth recording        Fifth recording
Average complete-interval FPS    58.632                  60.017
Source interval median          16.703 ms               16.667 ms
Source interval p95             18.649 ms               17.606 ms
Source interval p99             19.230 ms               17.953 ms
Source interval maximum         21.549 ms               19.153 ms
Work wall time mean             15.503 ms               14.766 ms
Work wall time median           15.755 ms               15.136 ms
Work wall time p99              19.166 ms               17.874 ms
Guest code per complete frame    9.233 ms                8.505 ms
Main thread, percent of a core  87.495%                 81.997%
Working-set peak               204.6 MiB               204.4 MiB
Private-memory peak            187.5 MiB               187.5 MiB
Measured GPU spans median        4.040 ms                4.182 ms
Measured GPU spans p99           5.566 ms                5.567 ms

Average FPS uses eligible-frame count / sum of eligible source intervals.
Work subtracts recorded pacing, scheduler idle and recorder overhead from each
eligible interval, matching the native inspector's median and p99. This is
main-thread wall time, not a per-function CPU measurement.

Complete frames average 1320.49 -> 1319.93 draws and 228387 -> 228392 vertices;
the workload is comparable. Guest wall time falls about 7.9% overall. Matching
density bands also improve: below 1200 draws, 7.992 -> 7.421 ms guest time;
1200..1499 draws, 9.013 -> 8.321 ms; at least 1500 draws, 10.403 -> 9.531 ms.
The heavy band averages 1535.35 -> 1534.87 draws across 329 -> 334 frames.
Its mean work drops 17.468 -> 16.461 ms, bringing the average below 16.667 ms.
Cooperative checkpoint sample counts are still only hints, not function costs.

Frames exceeding the 16.667 ms work budget drop 289/704 (41.1%) -> 131/716
(18.3%); 130 of the remaining 131 are in the heavy band. Frames exceeding
18 ms of work drop 105 -> 5, and intervals above 18 ms drop 108 -> 6. No new
interval exceeds 20 ms (previously two). The slowest new frame has 1549 draws,
19.055 ms work, 9.719 ms guest, 4.098 ms platform, 2.208 ms packet processing
and 4.848 ms measured GPU spans. GPU waits remain about 0.003 ms/frame,
entirely completion polling: 3135 calls / 2.254 ms across the recording.

This confirms useful gameplay savings from the CPU batching and reaches a
60 FPS average in the recorded scene without increased peak RAM. Heavy frames
still occasionally miss the individual-frame budget; this is not evidence of
locked 60 FPS in every frame or across other modes. No additional runtime change,
build or test was needed to inspect the recording. Comparison detail is in the
ignored build/perf-fifth-comparison.json; preserve the supplied private capture.

2026-10-10: intermittent interpolation / VSync presentation starvation

The four latest F8 captures are frame-42608555900, frame-45038849300,
frame-51858295000 and frame-63992850700. They contain 684, 712, 707 and
742 draws respectively, without truncation. Their audio callbacks remain below
2.143 ms within a 10 ms budget. F8 was used without F9, so these snapshots do
not provide frame timing or identify the cost of the slowdown by themselves.

The user reproduced the slowdown in performance-42771140900. The native
inspector accepts its binary. Ryzen 5 5600X / RTX 5060 Ti, 144 Hz, 1x,
interpolation on, VSync on, executable PE 6ACAFB59 / image 62300160 bytes.
44 frame records, 43 complete intervals, 4.637 seconds; no capture IO, recorder
capacity loss, resource/shader creation or over-budget audio batches.
Complete intervals average 9.439 FPS, median 110.566 ms, maximum 208.368 ms.
Present consumes 4155.903 ms / 91.230% of their wall time. Everything outside
Present averages 9.291 ms per complete frame. The slowest frame has 22 display
presentations taking 196.740 ms, with only 653 game draws.

Root cause: extra-frame presentation happens in the same main-thread poll
used between guest execution slices and platform calls. Synchronous VSync
Present can block until the previous display entry completes. Once the queue
backs up, each poll can consume another display interval. Original game work
continues only in the small gaps, explaining low CPU usage and normal per-frame
game work despite very long source intervals. The old hidden-window timing
checks used VSync off and no work between source flips, missing this condition.

The window swap chain now exposes its frame-latency availability handle with
one queued frame. Interpolated display checks it with a zero timeout before
touching the back buffer and uses DXGI_PRESENT_DO_NOT_WAIT for submission.
A busy queue skips that display opportunity; it never blocks guest execution.
VSync stays selected and source pacing retains its 60 Hz interpolated cadence
and selected-rate interpolation-off behavior. If a nonblocking Present cannot
submit, the acquired frame slot remains available for the next attempt. Only
successful submissions advance the presented-frame counter. Window resizing
preserves the required swap-chain flag; the owned handle closes on destruction.

The existing hidden-window diagnostic now combines nine 1 ms CPU work slices
per source frame with a 1000 Hz / VSync-on extra-frame workload. This is a
bounded component check without game boot, not a gameplay FPS measurement.
Availability waits remain accounted to Present and are outside GPU spans.
Baseline report: build/checks/present-stall-baseline.

Primary API contracts:
https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/dxgi-present
https://learn.microsoft.com/en-us/windows/win32/api/dxgi1_3/nf-dxgi1_3-idxgiswapchain2-getframelatencywaitableobject
https://learn.microsoft.com/en-us/windows/uwp/gaming/reduce-latency-with-dxgi-1-3-swap-chains

Validation of the presentation change:
- Release rebuild succeeds; no owned compiler, linker or diagnostic workers
  remain. No game boot or computer use was performed.
- RTX 5060 Ti hidden-window checks pass: 59.937 Hz source cadence under the
  VSync-on 1000 Hz presentation workload, 60.000 Hz source / 144.020 Hz display
  in the normal interpolation case, and original 120.000/144.000 Hz when off.
  The live checkbox opt-out measures 143.999 Hz with no extra images.
- WARP hidden-window checks pass for settings, resizing, interpolation images,
  selected-rate pacing and opt-out. Performance stress is hardware-only.
- All 183 hardware rendering cases pass with no D3D11 messages. All 162 shared
  output PNGs match the previous perf-third-render outputs byte for byte.
- The new window recording passes native binary inspection, with a 16.667 ms
  median source interval. Its intentional GPU-span overflow remains explicitly
  partial; recorder frame/sample/cost/resource capacities were not exceeded.
Reports: build/checks/present-stall-window.png.performance,
present-stall-window-warp.png.performance, present-stall-window-inspect and
present-stall-render. A manual recording must measure gameplay after the fix;
these offline results do not establish in-game FPS.

2026-10-11: release 1.3, native 120 Hz performance target

The user raised the target to sustained 120 FPS or higher at native resolution,
with interpolation disabled. Keep the selected-rate game cadence when off.
120 FPS requires 8.333 ms per source frame; the supplied 144 Hz recording has
a 6.944 ms selected-rate budget. Performance summaries now report that budget
and the number of eligible source intervals that exceed it. Existing binary
recordings remain readable; interpolation-on retains its 16.667 ms source budget.

Baseline: build/windows/Release/build/captures/performance-132057387600,
inspected into build/checks/perf-120-baseline. Ryzen 5 5600X / RTX 5060 Ti,
144 Hz, 1x, interpolation off, VSync on; PE 6ACAFFB4, image 62300160 bytes.
735 records / 734 eligible intervals, 10.885 seconds, 7001 cooperative samples.
Average 67.572 FPS, median interval 15.244 ms, p99 18.058 ms, max 19.714 ms.
Median work 15.188 ms; measured GPU spans median 3.309 ms, p99 4.804 ms.
Main-thread utilization is 96.1% of one logical processor. Per eligible frame:
8.262 ms guest, 1.880 ms command processing, 1.855 ms platform, 1.273 ms draw,
0.787 ms upload and 0.597 ms resource work. Present is only 0.044 ms;
GPU completion polling is 0.003 ms, with no intentional pacing. No shader
compilation, capacity loss or over-budget audio callbacks occurred.
The recording is CPU-limited; checkpoint addresses are hints, not cost rankings.

The compiled game's common RAM access now inlines only its primary range check
and value transfer. Device dispatch, secondary mappings and error construction
are outlined, preserving bounds, unsigned wrap rejection, endian conversion,
64-bit split device accesses and diagnostic messages. A bounded native comparison
uses the original compiled SDK vertex packet writer at 0x0021F9C0, found through
the 0x0021FA80 checkpoint samples. It changes only the Memory implementation.
Both first-vertex paths produce identical CPU/output checksums. Initial paired
trials take about 34% less time with first vertex 0 and 37% less with vertex 17.
Temporary comparison sources and logs remain ignored under
build/checks/perf-120-memory. Added boundary/alias/device comparisons agree,
including an empty primary mapping's valid zero-length access.

Fused x87 blocks keep their original instruction bytes and ordering. With all
six exceptions masked and every memory operand validated, only final instruction
and last memory provenance need publication. Controls permitting an exception
retain publication before each original instruction. Existing matrix reference
checks now cover both paths, all three precisions, four rounding modes, four
input/output alias arrangements and five input classes. No arithmetic or guest
function was replaced. The Windows assembly prologue has unwind metadata.

Primary instruction and unwind contracts:
https://cdrdv2-public.intel.com/782156/325383-sdm-vol-2abcd.pdf
https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64

Vertex-array state packets now copy their validated contiguous register payload
without dispatching each word through the general method handler. Nonincrementing
16-bit and 32-bit element packets append in bulk, retain the last register value
and preserve method counts and existing capacity failures. Their valid index
capacity is reserved at device creation. Existing render checks include a 32-bit
element replay alongside the 16-bit replay.

First candidate CPU checks pass: 52 cases, 21976 instruction, 469 memory,
6722 floating and 109 control assertions against the verified original XBE.
One-million-call benchmarks retain matching checksums: 0x00012BC0 falls from
106.132 to 64.369 ns/call, and fused 0x00227BD9 from 301.429 to 187.911 ns/call.
The 54 spatial cases and 74 native audio binding cases pass. These are bounded
component measurements; they do not establish a gameplay frame rate. Final
build validation and a new user gameplay capture are still required.

First-pass validation completed (build/checks/perf-120-final): production build
succeeds, with no owned workers left. CPU checks retain the counts above; the
final call-chain and fused matrix timings are 58.971 and 194.434 ns/call.
Both hardware and WARP pass 184 rendering cases with no debug messages. All
162 shared PNGs match present-stall-render byte for byte. Spatial 54, native
bindings 74, audio 67, DSP 65 and all 12 music tracks pass. Hidden windows retain
120/144 Hz source pacing with interpolation off, 60 Hz source pacing when on,
and 59.998 Hz source cadence under presentation backpressure. Recorder checks
and old-capture inspection pass. Preferences remain unchanged. b2.exe is
96612352 bytes (previous 62274560); mapped code size increases while the
recorded private-memory peak below decreases. Component checks do not prove FPS.

The user supplied performance-38715742800, then replaced the comparison with
performance-27847321800. Preserve both. The replacement has the same hardware,
144 Hz / 1x / interpolation off / VSync on, PE 6ACBD073, image 96641024 bytes.
710 eligible intervals average 74.404 FPS, versus 67.572 in the baseline.
Draws average 1320.21 versus 1312.97, a comparable workload. Median interval
falls 15.244 -> 13.953 ms; p99 18.058 -> 16.090 ms; max 19.714 -> 17.123 ms.
Mean guest work 8.262 -> 7.872 ms, command processing 1.880 -> 1.233 ms,
platform 1.855 -> 1.693 ms, draw submission 1.273 -> 1.127 ms,
resource preparation 0.597 -> 0.540 ms and uploads 0.787 -> 0.824 ms.
Every eligible interval still exceeds the 8.333 ms / 120 Hz budget. Main-thread
utilization remains 95.1% of one processor; the measured GPU-span median is
2.799 ms. No recording limits, shader compilations or audio overruns occurred.
Comparison: build/checks/perf-120-comparison.json. This confirms about 10.1%
more gameplay FPS, not the full 120 Hz target. It also shows why component
speedups must not be extrapolated to overall game-code cost.

Existing F8 snapshots contain high RAM aliases (for example 0x82D10000), and
kernel allocation bindings return 0x80000000 aliases. The initial packet-writer
fixture used low addresses. A second bounded fixture tests a high alias behind
a separate kernel mapping. Inlining the existing mapped-region lookup retains
all its checks and saves about 11-15% on that fixture versus the first pass,
with identical output and boundary/device checks. Primary fixtures also improve.
This remains a component result; gameplay must be measured again.

Five repeatedly sampled original functions now have opt-in exclusive timing
in F9 recordings: 0x0021F9C0, 0x00227BD9, 0x00219750, 0x000ED570 and
0x00109B40. Their containing entries were verified from generated original
instruction labels. This uses the existing bounded recorder, not a CPU fallback
or replacement function. Timing pointers are absent during ordinary play and
cleared from snapshots. Newly created threads inherit recording state. Matrix
reference checks exercise recording while calculating NaN inputs. Cooperative
checkpoint counts remain hints; new function timings provide measured costs.

The mapped-memory/profiled build completed on 2026-10-11. Its executable is
130704896 bytes, versus 96612352 bytes for the first pass; inlining expands
the code, so the tradeoff still needs a gameplay measurement. Native CPU
checks again pass 52 cases, 21976 instructions, 469 memory cases, 6722 floating
cases and 109 control cases, including active recording with NaN matrix inputs.
The million-call benchmarks measure 9.8395 ns for the basic function, 57.5776 ns
for the call chain, and 196.641/434.555 ns for fused/unfused matrix calls, with
unchanged checksums. These are component measurements, not race FPS.

Hardware and WARP render checks both pass all 184 cases without debug messages.
All 166 shared PNGs per adapter are byte-identical to the first-pass final
checks. Audio, effects, all twelve music tracks, spatial/native bindings,
recorder, old capture inspection and both hidden-window checks pass. Hardware
source pacing remains 120/144 Hz with interpolation off, 60 Hz with it on,
143.999 Hz after opt-out and 59.994 Hz under presentation backpressure.
All existing preferences match. Owned build and diagnostic workers have exited.

A separate bounded native benchmark of the exact optional timing hook measures
52.689 ns per active scope (median of five two-million-call trials), cycling
through the five selected IDs. Its null-hook empty loop is optimized away;
that is not a measurement of the branch inside an actual game function.
Recording overhead can be related to the observed function counts in the next
capture. The rebuilt game is ready for the user's matching race recording;
the last verified gameplay result remains 74.404 FPS, below the 120 FPS target.

The user's performance-28815816100 recording identifies a regression in the
mapped-memory/profiled candidate: 55.073 FPS, median 18.5348 ms, p99 20.6889 ms,
maximum 22.7506 ms. Its 1320.60 draws/frame match the previous 1320.21. Eligible
guest time rises from 7.872 to 9.991 ms/frame and platform services from 1.693
to 4.155 ms/frame; GPU command/upload costs and workload remain comparable.
All GPU spans are complete, with no recorder drops or audio overruns. The
candidate therefore does not establish an improvement despite its component
result; broad mapped-lookup inlining is removed from the next build.

Exact selected costs in that recording: shader constants (0x00219750), 955.790
ms/934107 calls; vertex packets (0x0021F9C0), 601.362 ms/934107; state flush
(0x000ED570), 257.890 ms/972755; state update (0x00109B40), 191.282 ms/4939;
matrix (0x00227BD9), 148.258 ms/549322. General unselected guest work is still
5102.565 ms. Further opt-in timings cover verified parents 0x00090420,
0x00090660, 0x00090A50, 0x000BDEE0, 0x0010DA90 and 0x00219370.

Spatial's SDK calculator previously mapped its own 8 KiB scratch area into the
shared game's memory after kernel and heap aliases. Its stack and parameter
reads consequently required secondary-map lookups; that mapping also stayed
in the parent after the Spatial object died. It now owns a memory view with
scratch as primary, borrowing the existing game buffers/mappings and device
bindings. Original math dispatch/table writes still reach the same RAM; no
calculation or immediate/deferred audio behavior is replaced.

The measured shader-copy path contains contiguous original MMX MOVQ/MOVNTQ
blocks. Native batching checks complete source/destination spans once, then
executes those same operations in order, including overlapping data. Registers,
flags, EMMS and fence operations retain their original behavior. Diagnostic
mode and failed preflight retain individual instructions and partial writes.
The existing MMX copy check now compares both paths at varied sizes, alignment
and high aliases, plus a failing destination's partial stores and floating state.
These changes are being built and require CPU/audio checks and another race
capture before any performance conclusion or release.

The private-spatial-view/MMX build completed on 2026-10-11 at 15:12 local.
Its executable is 96628736 bytes, close to the first-pass 96612352 bytes;
the regressed mapped-inline candidate was 130704896 bytes. The build exits
successfully, with no surviving owned workers. CPU checks pass 52 cases,
21976 instructions, 469 memory cases, 6744 floating cases and 109 control
cases, including the MMX reference/alias/partial-failure comparisons.
Million-call component timings are 9.1885 ns for the basic function,
63.9134 ns for the call chain, and 199.533/365.001 ns for fused/unfused
matrix calls. Existing checksums match; these do not establish race FPS.

Spatial checks pass 54 cases and 74 native binding cases. Its 1000-call
calculation benchmark now takes 2.9257 ms versus 5.5688 ms in the regressed
candidate. Audio passes 67 cases, effects 65 checks, and all twelve music
tracks pass. Hardware and WARP rendering pass 184 cases without debug
messages; all 166 shared PNGs per adapter are byte-identical to the previous
candidate. Recorder, old capture inspection and hidden-window checks pass.
Hardware source pacing is 120/144 Hz with interpolation off, 144 Hz after
opt-out, 59.951 Hz with interpolation, and 59.992 Hz under backpressure.
Other preferences match the saved settings, and all diagnostic workers exit.
Reports are in build/checks/perf-120-direct. The user has been asked for a
matching 144 Hz busy-race capture with interpolation and music disabled;
the 120 FPS gameplay target remains unverified.

The user's performance-28378107400 capture confirms recovery on the latest
build (PE 6ACBEDAC, image 96657408 bytes). Ryzen 5 5600X / RTX 5060 Ti,
144 Hz, 1x resolution, interpolation off, VSync on: 710 records, 709 complete
eligible intervals, 9.190596 seconds. Average native rate is 77.272 FPS,
3.854% above the first-pass 74.404 FPS and 14.355% above the original 67.572
FPS; the regressed candidate was 55.073 FPS. Draw density is 1324.74/frame,
versus 1320.21 in the first pass. No generated frames, shader compilations,
recorder drops, incomplete GPU spans or audio overruns occurred. The target
SHA-256 matches. The native inspection worker exited.

Intervals: median 13.4581 ms, p95 15.5365 ms, p99 17.1517 ms, maximum
21.3924 ms. Median work is 13.4449 ms; GPU median 2.783392 ms and p99
4.055872 ms. All 709 eligible intervals exceed the 8.333 ms / 120 Hz budget.
Average throughput improves, but p99/max intervals are higher than the
first-pass recording's 16.0903/17.1228 ms; sustained 120 FPS is not achieved.

Eligible exclusive means: guest 7.901 ms/frame, platform services 1.177,
GPU commands 1.235, draw submission 1.157, resources 0.544, buffer uploads
0.828. Platform time improves from first-pass 1.693 and regressed 4.155
ms/frame; guest time is close to first-pass 7.872. Main-thread utilization
is 96.676% of one core. GPU and draw workload remain similar, so the next
performance work should use these CPU costs. Peak working/private memory
is 228831232/194990080 bytes; peak local GPU memory is 31383552 bytes.

Selected original guest costs, exclusive ms / calls:
  0x0021F9C0: 504.4203 / 916349; 0x00219750: 423.3483 / 916349;
  0x00090A50: 336.5599 / 200899; 0x00090420: 277.1498 / 5679;
  0x000ED570: 227.7811 / 954139; 0x00090660: 161.6577 / 370119;
  0x00227BD9: 145.5416 / 540181; 0x00109B40: 120.6295 / 3930;
  0x000BDEE0: 86.9884 / 710; 0x0010DA90: 20.0231 / 139160.
Unselected guest time totals 3300.4547 ms. Additional selected scopes mean
this bucket is not directly comparable to the five-scope candidate.
SetAllParameters takes 168.5151 ms / 27951 calls; listener orientation,
position and velocity take 139.6994, 135.7080 and 128.9898 ms / 710 each.
Audio callbacks total 1.4385316 seconds over 918 batches, with no overruns.

Full reports: build/checks/perf-120-direct/new-race and new-race-summary.json.
The user confirmed the improvement and requested further optimization some
other time. Work stops at this measured state; no 1.3 release is published.

2026-10-11: overnight 240 Hz optimization (in progress)

Goal: Airport Terminal 3, 1x native resolution, widescreen, interpolation off,
V-sync off. Use game automation. Every measured benchmark is <=30 seconds;
F9 remains available for performance diagnostics. Computer use only if necessary.
These preferences are also retained in AGENTS.md.

The existing LLVM 22.1.8 / Ninja / LLD default is retained. Prior verified build
measurements and installation checks are in research/build-time.txt. New work
uses the same compiler and audits only its owned workers after each command.

The native --controls script now accepts performance 1/0 to start/save the same
recorder as F9. Inputs use a separate virtual controller; user bindings and
physical controllers are untouched. Startup and menu selection precede timing.
The shorter startup script reaches the actual Airport Terminal 3 starting grid;
its 30-second saved frame shows the original HUD/countdown. A subsequent saved
frame shows driving with the race HUD, 85 mph, and airport-terminal signs.

Actual baseline: build/windows/Release/build/captures/performance-49376133200.
Automated sequence: build/checks/overnight-240/race-baseline.controls.
Ryzen 5 5600X / RTX 5060 Ti; verified supported XBE SHA-256. 14.997719-second
recording, 2040 eligible source intervals, 136.122581 FPS. Median 7.5675 ms,
p99 9.4183 ms, maximum 9.8397 ms. All exceed the 4.166667 ms target budget.
949.24755 draws and 187758.38088 vertices per eligible frame. GPU span median
2.135968 ms, p99 2.690560 ms. No recorder drops or partial GPU spans reported.
Earlier title/preview captures do not establish race FPS and are not baselines.

Candidate changes, not yet accepted: exact shader keys use an ordered lookup;
primary-storage suffix aliases can fold a single address bit after their mapping
is verified. This does not fold the earlier, separate kernel image or unmapped
holes. Xbox maps the heap suffix at 80000000+heap_begin and F0000000+heap_begin;
only the verified single-bit alias uses the shortcut. Other mappings retain the
existing bounded lookup. Five comparisons per integer size check shared stores,
separate kernel storage, the preceding hole, end bounds, and unmapped aliases.
The connected Release build is currently compiling/linking these changes.
No 240 Hz claim is made. Further measured race runs and validation are required.

The ordered shader-key map is rejected: performance-49555806800 recorded
117.512888 FPS (8.2191 ms median, 10.353 ms p99) and doubled resource-preparation
cost per draw. Its 1052.14 draws/frame differ from the baseline's 949.25, so
aggregate FPS is not an equal-workload comparison. The original vector lookup
is restored. All 163 comparable hardware PNGs match the previous widescreen
validation byte for byte.

A native-call index now replaces repeated binary searches of the immutable
compiled-function list. The build tool emits a 131072-slot index (512 KiB),
using complete guest addresses and checking exact matches after collisions.
The function list and native entry functions are unchanged. The CPU diagnostic
checks every one of 36149 entries plus both adjacent addresses against the
existing sorted list. Missing targets keep the same explicit error.
CPU, 184 WARP rendering cases, spatial/native bindings and recorder checks pass.
The index build took 227.817 s; the boundary/alias build took 375.636 s. All
commands use tracked PID/creation-time ownership and sequential diagnostics.

performance-49544515600 is a 14.998345-second automated driving recording of the
index candidate: 128.376865 FPS, median 7.6719 ms, p99 9.6041 ms, 1011.99
draws/frame. Resource preparation returns to 0.498 ms/frame; guest work is
3.804 ms/frame. These records do not establish the requested 240 Hz target.
A conservative alias-end check now excludes a mapping that abuts primary RAM,
preserving the original zero-length end pointer. Its connected rebuild is active.
A bounded native PC sampler was compiled under build/checks/overnight-240 to
locate remaining native costs; it has not been run and is not a release program.
The next step is native profiling after the build, then measured improvements.

Native profiling: private profile-sample collected 812 bounded main-thread PCs
from the active Airport run, with one terminal-thread read failure. This is
sampling evidence, not exact function timings or an FPS benchmark. Renderer
submission and nested integer-array comparison routines were prominent. System
symbols were unresolved; do not assign those waits to a particular caller.
The private sampler is not shipped or required by the game/build.

Shader/layout equality now compares the fixed-size integer storage directly;
compile-time size checks exclude padding. Hardware passes all 184 render cases,
and 163 comparable PNGs match the previous candidate exactly. The automatic
15-second performance-49524231600 capture measures 130.932672 FPS, median
7.5474 ms, p99 9.3299 ms, and 991.64 draws/frame. Varied traffic/crashes and draw
counts prevent attributing small aggregate changes to individual optimizations.

The common programmable shader path now borrows its already-built uniforms;
only fixed transforms need the adjusted local copy. Hardware and WARP pass all
184 rendering cases, with no debug errors. All 163 comparable hardware PNGs
remain identical. The hidden-window/settings/recorder suite also passes.
performance-49553618100: 14.998651-second Airport driving capture, 130.261323
FPS, median 7.5777 ms, p99 9.4105 ms, 1001.37 draws/frame. No capture limits
or partial GPU spans. Sustained 240 Hz is still not achieved.

Incremental build root cause: shader generation depended on the entire tool
executable, which includes the shared renderer. Every renderer rebuild therefore
recompiled unchanged HLSL for about 49 seconds. CMake now depends on the actual
shader-generator inputs, project headers, target/GUI headers, XBE and build
configuration; COMMAND retains tool build ordering. A timestamp-only renderer
rebuild passed in 8.553 s versus 59.292 s before, with the shader stamp unchanged.
It retained ordinary compilation/linking and verified original CPU generation.
Reconfiguration must use the documented Visual Studio SDK environment: outside
it CMake incorrectly selected LLVM preprocessing for the cached Microsoft RC.
Reconfiguration under the SDK and the subsequent resource compilation pass.

Current canonical executable: build/windows/Release/b2.exe, with LLVM/Ninja/LLD,
static dispatch index, validated primary suffix alias, integer cache comparisons
and the conditional uniform copy. CPU checks pass 52 cases / 487 memory checks;
lookup checks cover all original entries and adjacent addresses. Hardware/WARP
and settings pass. Next required work: larger measured CPU/submission savings,
repeat <=30-second automated Airport benchmarks, and final acceptance at 240 Hz.
Do not mark the goal complete or infer success from component checks.

Native arithmetic candidate: Clang x64 uses ADD/ADC/SUB/SBB/TEST and LAHF,
with OF captured separately, instead of rebuilding every architectural flag
in C++. Constant evaluation and other compilers retain the verified formulas.
The existing hardware-instruction comparisons pass all 21976 integer cases,
including 8/16/32-bit ADC/SBB and preserved flags. All 52 CPU cases pass.
The 14.998144-second automated Airport recording performance-49573970500 is
131.573636 FPS, median 7.4882 ms, p99 9.6707 ms, 981.80 draws/frame; guest
work is 3.681 ms/frame. No dropped frames; every source interval exceeds the
240 Hz budget. This is a small, workload-dependent change, not acceptance.
Renderer binding work is now being validated: repeated identical driver
bindings are skipped within a draw batch, and state is invalidated at each
batch boundary or explicit texture unbind. The connected rebuild passed in
13.696 seconds without shader recompilation. Further race measurement required.

The binding cache passes 184 hardware render cases with no debug errors; all
163 comparable PNGs are identical. performance-49524535400 records a 14.997309-
second automated Airport run: 135.245953 FPS, median 7.274 ms, p99 9.0458 ms,
965.47 draws/frame. Draw submission is 0.695 ms/frame. Target remains unmet.

GPU shader selection now reuses the prepared shader until its start or uploaded
tokens actually change. Both single-word and bulk upload paths track exact byte
changes. Fixed-transform and consecutive vertex-layout inputs reuse their IDs;
renderer caches remain persistent across session reset. All 184 hardware cases
pass, with no debug errors and 163 identical comparable PNGs. The race capture
is performance-49531170900. This candidate still needs repeated acceptance.

Next compiler experiment is optional LLVM IR profile-guided optimization,
trained by native Airport gameplay. This records actual hot branches/calls for
compile-time optimization and adds no runtime decoder or interpreter. Default
builds keep profiling disabled. LLVM references:
https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization
https://llvm.org/docs/CommandGuide/llvm-profdata.html

LLVM IR instrumentation build passed in 408.469 s; the recording reset hook
relinked in 9.221 s. Instrumented CPU diagnostics still pass all 52 cases and
21976 integer comparisons. The automated Airport training used the same native
controller script, with a 15-second F9-equivalent recording and normal exit two
seconds later. Its final native PNG shows active Airport racing. All 17 timed
controls applied; native resolution/widescreen/interpolation-off settings match.
F9 resets counters at recording start in instrumented builds, excluding setup.
Owned compiler workers were audited gone before game execution. Profile output
airport-15384.profraw (35,964,984 bytes) merged successfully to airport.profdata.
The indexed profile contains 58,137 functions and 2,011,605 blocks. Renderer
submission, Memory::access, GPU command submission and the audio worker are
frequent paths. Counts identify work; they are not per-function timings or FPS.
The optimized (counter-free) build is now compiling against this profile.

Counter-free LLVM PGO build passed in 336.459 s. CPU diagnostics pass all 52
cases, 21976 integer / 487 memory / 6744 floating comparisons and 36149 native
entries. Hardware passes 184 render cases without debug errors; all 163
comparable PNGs remain identical. performance-49539324200 is a 14.997506-second
Airport run: 144.038709 FPS, median 6.9515 ms, p99 8.3847 ms, 956.22 draws/frame.
Guest CPU work falls to 2.411 ms/frame from 3.632 ms/frame before PGO. Present
now consumes 1.347 ms/frame and the main thread is only 80.65% busy, revealing
another bottleneck: the windowed flip swapchain lacks ALLOW_TEARING despite
sync interval zero. The supported capability, creation, resize and presentation
flags are now being corrected together. The frame-availability queue remains
bounded. Microsoft reference:
https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/variable-refresh-rate-displays

A private controlled memory probe finds ordinary mapping reads/writes at 5.122
ns/iteration versus 1.234 ns with a cached, bounded primary mapping, with the
same nonzero checksum. This is component evidence, not game FPS; no primary
mapping snapshot has been added to the production CPU yet. Measure after the
presentation correction before choosing the next CPU change.

The capability-based tearing fix passes the hidden-window/settings/recorder
suite. performance-49548244000 records a 14.998481-second Airport run at
180.822987 FPS, median 5.518 ms, p99 7.4319 ms, 1029.09 draws/frame. Presentation
falls to 0.0307 ms/frame; guest CPU work is 2.260 ms/frame. No dropped frames.
The target remains unmet. Source and presentation continue at each actual flip.

The next CPU candidate caches only the immutable primary span/base and one
already-verified suffix alias in each native function. Primary storage is const;
additional mappings are appended and cannot invalidate existing ones. All RAM
bounds remain checked. Misses delegate to the current Memory instance, including
new mappings and device callbacks. The snapshot itself never escapes to cold
helpers, allowing the compiler to keep its fields in registers. A controlled
probe of the production implementation measures 1.083 ns/iteration versus
4.956 ns normally, with identical nonzero checksums. This is not an FPS claim.
Eight necessary checks per integer width cover shared/separate mappings, later
aliases, holes, end bounds, invalid tags, empty accesses and later device binding.
The native lowering now uses this snapshot for integer/raw floating accesses;
verified calls and existing atomic/string/vector helpers retain the live Memory.
A fresh instrumented training build is required; do not reuse stale profiles.

The first snapshot training build passed in 369.469 s. CPU checks pass all 52
cases, including the new cached mapping/device checks (511 memory checks for
8/16/32-bit paths). Before collecting profiles, SIMD raw loads/stores are now
using the same snapshot too; the helpers remain statically typed and preserve
all original alignment/size rules. The mapping checks are also applied to the
64-bit helper path, including its two-part device access. This requires one
connected rebuild before training. No stale compiler profile is accepted.
The LLD cache was 1,249 MiB despite its 1 GiB target. Its modest target is now
3 GiB to retain more native rebuilds; D: has over 1 TiB free. Workers were gone
before diagnostics. The final counter-free race result is still outstanding.

The SIMD snapshot build passed in 231.174 s; all CPU checks pass, now including
525 memory comparisons and 6744 floating comparisons. A fresh 15-second native
Airport training recording completed normally, with all 17 controls applied and
no audio error. The final native image shows active Airport racing. Its new
36,573,256-byte primary-airport-17864.profraw merged successfully. The optimized
build passed in 305.814 s; counter-free CPU diagnostics again pass all 52 cases.
The actual race acceptance recording is now running. No 240 Hz claim yet.

Shader dependency refinement: inspected the generator's real include graph.
Its project inputs are file/xbe/shaders/vertex_program sources and headers,
tool/shader_compiler sources, plus generated GUI/target/kernel-name headers and
the XBE. CPU/audio headers and compiler-profile cache settings do not affect its
HLSL output. The dependency list now names those actual inputs; Ninja tracks
command changes itself. Verification after the active race is required. This
avoids another roughly 49-second shader rebuild on unrelated CPU/profile work.

performance-49545945800: 14.996612-second automated Airport recording of the
counter-free primary snapshot candidate, 179.991802 FPS, median 5.5659 ms,
p99 7.3956 ms, 1023.18 draws/frame. Guest work is 2.304 ms/frame; no clear race
improvement versus 180.823 FPS / 2.260 ms previously. Do not infer game gains
from the 4x component result. Hardware passes 184 cases, no debug errors, and
all 163 comparable PNGs are identical. Target remains unmet.

GPU command candidate: a 4 KiB constexpr prefix table identifies methods with
immediate effects (draws, constants, program uploads, current attributes,
fences, flips, clears and object binding). Ordinary register-only packets now
copy once; repeated ordinary writes retain the last word. Object validation,
method-bank/packet bounds, special actions and statistics remain intact. The
same effect classification gates the individual method handler. All action
ranges were checked against that handler. Hardware validation is running.
The connected rebuild passed in 13.494 s without generating shaders, verifying
the refined shader dependency graph on a real GPU-code/configuration change.

Current canonical executable: counter-free LLVM PGO using primary-airport.profdata,
primary mapping snapshots (including SIMD), capability-based V-sync-off tearing,
shader/layout memoization, draw binding cache and GPU register-packet batching.
CPU passes 52 cases / 21976 integer / 525 memory / 6744 floating / 109 control
checks; all 36149 native entries remain verified. Hardware passes 184 cases,
with 163 identical comparable PNGs and no debug errors.
performance-49563453100: 14.997311-second Airport recording, 180.575156 FPS,
median 5.5253 ms, p99 7.3799 ms, 1027.37 draws/frame. Guest 2.330 ms/frame;
GPU commands 0.856 ms; draw 0.729 ms; resource preparation 0.359 ms; uploads
0.609 ms; Present 0.0313 ms. No dropped frames. Stable 240 Hz remains unmet.

A bounded native sampler now uses a per-process 1 ms timer and indexed x64
unwind ranges to validate function extents. Native-unwind-sample collected
7665 PCs in 15 seconds, with no failures, using the same autonomous Airport
controller script and no F9 recorder overhead. Sampling perturbs execution and
is not an FPS acceptance result. Renderer::draw_streams accounts for 709 PCs,
integer-array mismatch 526, Renderer::prepare 246, GPU::submit 221, original
219750/21F9C0 about 197/195. VCRUNTIME had 645 unresolved PCs; unresolved names
must not be assigned to a particular routine. These are location hints, not
inclusive timings. Raw PCs and the complete report are private native-unwind.txt.

Next evidence-driven work: resolve source lines for the renderer samples, then
avoid resolving the same pipeline/samplers again when submitting already-prepared
queued draws. Consider batched buffer uploads only if measured costs justify it.
Do not assume a component improvement establishes FPS. The primary snapshot
showed no clear race gain; retain/reject it based on repeated game measurements
and memory/loading evidence. Retest CPU/render/window paths for subsequent edits.
All measured game captures remain 15 seconds; preparation precedes recording.
Goal remains active. Do not mark complete until sustained 240 Hz is demonstrated
on Airport Terminal 3 with 1x/widescreen/interpolation off/V-sync off.

Prepared graphics state: queued GPU draws now retain the pipeline and four
sampler bindings already resolved by Renderer::prepare. Immutable map entries
remain valid across resets; descriptors verify renderer ownership. Submission
avoids repeating five map lookups per draw. Ordinary diagnostic draw APIs keep
their original lookup/validation path. Build passed in 17.122 s; all CPU cases
pass, and hardware passes 184 cases with no errors and 163 identical PNGs.
performance-49562717800 measures 188.060910 FPS, median 5.3103 ms, p99 7.0267 ms,
1050.48 draws/frame. Draw submission falls from 0.729 to 0.425 ms/frame.
Target remains unmet. Other measured costs: guest 2.345, commands 0.858,
resource preparation 0.377, buffer uploads 0.637, Present 0.0299 ms/frame.

Recorder clock uses exact multiplication on the verified Windows 10 MHz QPC
counter instead of two repeated integer divisions. Non-divisor frequencies
retain the general exact formula. The recorder/inspection check passes.

A separate low-overhead original-frame capture measures normal gameplay without
per-operation timing/query instrumentation. It records the existing flip clock
into a pre-reserved 8192-element buffer, auto-stops at 30 seconds, saves raw
intervals and configuration, and is exclusive with F9 diagnostics. Data is only
written after measurement. Timed scripts use benchmark 1/0; the game automation
and settings are otherwise identical. benchmark-49524397700: 15.000481 seconds,
14.989980 measured seconds, 2988 actual intervals, 199.333151 FPS, median
5.0604 ms, p95 5.7845 ms, p99 6.7022 ms, max 8.2019 ms, no dropped frames,
settings unchanged. This still does not meet stable 240 Hz. Interval count,
summed duration and computed FPS were independently checked against raw data.
The metadata build adds CPU/build identity and enforces the sampling deadline.
The hidden-window/settings/recorder check passes; all owned workers are gone.

Current canonical build: counter-free PGO primary-airport.profdata, prepared
bindings, exact recorder clock and frame-only script benchmarking. No changes
to source rendering resolution, widescreen or interpolation quality. Future
240 Hz acceptance must use real game intervals, not component timings.
Next substantial target: reduce per-draw dynamic-buffer upload/rename work.
Consider a capability-checked D3D11.1 constant-buffer ring/ranged binding, then
batch vertex uploads across the existing queued draw group. Preserve original
pixels and validate hardware/WARP, bounds and native fences. Do not invent an
ABI assumption, drop game work, enable interpolation, or weaken success criteria.
The goal remains active and unmet. Existing primary snapshots have no proven
race FPS benefit; reassess them using game/memory/loading evidence.

D3D11.1 constant-buffer ring: capability-check constant offsetting and dynamic
NO_OVERWRITE support; use aligned 64 KiB rings with DISCARD only on wrapping,
and bind 256-byte-aligned ranges. Unsupported devices keep the previous path.
Hardware and WARP expose the required capabilities. Both pass all 184 checks
without debug messages, including 32770 queued draws with changing pixel
constants, positions and colours. All 163 baseline PNGs match.
benchmark-49534434700: 200.015809 FPS, median 5.0491 ms, p99 6.612 ms, max
7.3179 ms, 2999 intervals over 14.993815 measured seconds; no drops, settings
unchanged. CPU/GPU/build identity is recorded. This is not a clear improvement
over 199.333 FPS, and stable 240 Hz remains unmet. performance-49507656600:
189.131521 FPS with detailed recording, guest 2.313, platform 0.558, GPU
commands 0.852, draw submission 0.452, resources 0.378, uploads 0.613 ms/frame.
No runtime shader compilation or GPU waiting bottleneck was observed.

Consecutive graphics-state reuse removes redundant pipeline/sampler map
lookups without skipping fragment or resource validation. All 184 hardware
cases pass and 163 PNGs match. Build 13.789 s. benchmark-49548042000 measures
204.390549 FPS, median 4.9272 ms, p99 6.5376 ms, max 8.11 ms, no drops.

Queued vertex uploads: Renderer accepts the existing 256-draw GPU group,
validates and packs each native stream once, and maps its vertex buffer once
per bounded group. Groups split before exhausting storage; DISCARD retains
earlier submitted allocations. Single-draw diagnostics share the same packing
helper. Builds 17.118 s / 11.112 s, all 184 hardware/WARP cases pass, no debug
messages, and 163 PNGs match. The existing wrap case now submits queued groups
and reads changing program and pixel constants, rather than merely varying
vertex colours; it forces both constant rings to wrap as well as vertex/index
storage. benchmark-49546758000: 209.642375 FPS, median 4.757 ms,
p99 5.9758 ms, max 6.8778 ms, 3143 intervals over 14.992198 measured seconds,
no dropped frames or configuration changes. Stable 240 Hz remains unmet.

Shader constants can now share one map per bounded queued group. Equal
consecutive values share a range; groups split before either 64 KiB ring is
full. Legacy devices retain individual uploads. Failed submission invalidates
the retained values. The wrap case falls from 99335 to 38917 maps, preserving
all pixels and 184 hardware/WARP checks. benchmark-49547946400 is 207.714559
FPS, median 4.8166 ms, p99 6.0492 ms, max 7.6324 ms. No clear FPS gain yet.
performance-49499777200 is 201.706457 FPS, 1074.17 draws/frame, 1134.40 maps/
frame. Draw submission 0.301, resources 0.118, uploads 0.404, GPU commands
1.061, guest 2.351, platform 0.589 ms/frame. Preparation moved some work out
of individual draw timing; phase changes alone do not establish a speedup.

Direct uniform construction, retained per-layout stream sizes and borrowed
upload offsets avoid temporary copies and repeated format calculations. All
184 hardware/WARP cases pass without errors, with identical PNGs.
benchmark-49548705000: 211.324757 FPS, median 4.6825 ms, p99 6.0093 ms,
max 7.8926 ms, 3169 intervals / 14.995877 measured seconds, no drops, settings
unchanged. Stable 240 Hz remains unmet. Next CPU experiment: preserve ordinary
C++ logic-flag expressions so LLVM can fold branches and discard unused flag
bits, which opaque inline TEST/LAHF prevents. Flag semantics remain identical.

Logic-flag folding: removing inline TEST/LAHF retains the identical C++ flag
formula. All 52 CPU groups, 21976 instruction, 525 memory, 6744 floating and
109 control cases pass, plus original spatial calculations/bindings. Rebuild
229.507 s. benchmark-49551478700: 208.197050 FPS, median 4.7965, p99 6.1193,
max 7.1955 ms. No demonstrated FPS benefit; reassess with matched scenes.

Audio synchronization: playback status is published with lock-free integers
at creation, playback changes, completion and release. Healthy error queries
also avoid the mixer mutex. Listener updates calculate all affected sources
before one validated batch, avoiding partly updated listeners in a callback.
Mixer checks and all 74 SDK binding cases pass. benchmark-49523481000:
209.521213 FPS, median 4.7654, p99 5.9343, max 7.0408 ms, no audio errors.

Bounded native sampling (15 s) confirms SDL audio mutex waits and copy costs.
Size-less symbol names are only hints. Raw Windows syscall stubs and memcpy
implementation ranges were checked in small native disassembly ranges. Stack
walking is bounded to four frames; source-line data is absent for our Release
objects, so nearest public symbols cannot establish exact callers. Sampling is
diagnostic, never an FPS acceptance result; all owned sampling workers exited.

Audio controls now use a fixed 4096-entry single-producer/consumer queue for
frequency, pitch, spatial, volume and headroom. The game validates and publishes
groups atomically; the mixer consumes them before a batch. Capture, format
changes and voice release/reuse drain pending controls while locked. Rare full
queues drain synchronously rather than dropping commands. No gameplay-path
allocation. All 72 mixer checks pass, including queued control wrapping,
backpressure, format reset and reused voices; all 74 SDK binding checks pass.
benchmark-49531011000: 210.100222 FPS, median 4.7477, p99 5.9467, max 6.8698 ms,
no dropped frames, unchanged settings, no audio errors. Stable 240 Hz is unmet.

Compiler check: clang-cl /O2 already selects frontend -O3 (verified with -###
and https://clang.llvm.org/docs/UsersManual.html). Do not add redundant frontend
flags. The next experiment selects /opt:lldlto=3 for LLD's final optimization,
supported by the installed LLVM 22.1.8 driver, and refreshes the gameplay profile
for changed GPU/audio paths. Keep this only if actual game timings justify it.

Refreshed profile: updated-airport-15508.profraw (36591664 bytes), merged to
updated-airport.profdata. Training build 301.083 s; counter-free use build
243.183 s, with only a zero-count shader_binary profile mismatch. CPU, 72 audio,
74 SDK binding and 184 hardware checks pass; 163 PNGs match. benchmark-
49551314000 measures 211.232756 FPS, median 4.6948, p99 5.9434, max 6.8473 ms,
no audio errors or drops. Target remains unmet.

Index uploads now share the same bounded draw groups as vertices/constants.
One checked plan preserves each primitive's original topology and index order;
conversion writes directly into mapped storage. Groups split before capacity
is exhausted. Single-draw APIs share planning/conversion. All 184 hardware/
WARP checks pass with no errors, and PNGs match. The wrap diagnostic drops from
38917 to 8196 total maps. benchmark-49556323600: 211.607347 FPS, median 4.6449,
p99 6.132, max 10.3124 ms. performance-49511804600: 205.018483 FPS,
1078.45 draws/frame, 125.52 maps/frame, guest 2.448, platform 0.592, commands
1.036, draw submission 0.203, resources 0.114, uploads 0.344 ms/frame. No audio
overruns. This map reduction has not established a substantial FPS increase.

GetPosition became the largest remaining audio-service wait: 0.130 ms/frame
over 52 calls/frame in the latest F9 recording. Playback/write cursors now
publish as one lock-free 64-bit value after each mixed block and after playback,
seek, region, format and lifecycle changes. Getters retain validation and the
original codec/loop/capacity calculations. All 72 mixer and 74 SDK cases pass.
benchmark-49551851500: 209.856118 FPS, median 4.7455, p99 6.0636, max 6.9311 ms,
no drops, configuration changes or audio errors. No clear FPS gain yet.

Next compiler experiment: optional B2_AVX2 Release target, default OFF. Windows
IsProcessorFeaturePresent(PF_AVX2_INSTRUCTIONS_AVAILABLE) confirms OS AVX2
support on the named Ryzen 5600X. Keep the portable binary for comparison; an
AVX2 build requires this CPU/OS feature. Do not claim component/ISA capability
as an actual FPS improvement. Goal remains active and unmet.

AVX2 experiment: build 266.547 s; all 21976 instruction, 525 memory, 6744
floating, 109 control, 72 audio, 74 SDK and 184 hardware cases pass; PNGs match.
benchmark-49536262100: 204.039664 FPS, median 4.9271, p99 6.4372, max 7.3156 ms,
no dropped frames or audio errors. 4232 generated-function profile mismatches
mean this needs an architecture-matched profile before a clean comparison.
Restore B2_AVX2=OFF for the current user executable; retain the optional switch
for controlled experiments, default OFF. Do not claim an AVX2 improvement.

Current work remains active: about 210-212 FPS in the named actual race, not
stable 240 Hz. Shader-constant snapshots still copy/compare all 192 rows per
draw. A future reduction must derive live constant ranges in the existing build
translator, retain all rows for relative addressing, preserve CPU viewport/fixed
transform consumers, and keep current captures accurate. Runtime token decoding
and guessed ABI/alias rules are not acceptable. Also reassess unproven earlier
changes with matched game workloads; do not confuse reduced API counts with FPS.

Portable restoration complete: AVX2 OFF, profile generation OFF, updated-airport
profile use ON, LLD final optimization level 3. Restoration 102.691 s. All CPU
cases and the hidden window/settings/recorder checks pass. No owned completed
build/diagnostic workers remain. Canonical executable is counter-free and uses
the requested 240 Hz / 1x / widescreen / interpolation off / V-sync off settings.
The measured race target is still unmet; do not mark the goal complete.

Shader constant ranges are now derived by the existing build translator and
stored with the compiled shader bytes. Relative addressing and launch programs
retain all 192 rows. Fixed transforms retain rows 0..95; CPU viewport consumers
remain included. Draw snapshots and comparisons use the recorded range, with
unused rows cleared on program changes. All 184 hardware and WARP checks pass;
all 166 comparison PNGs match. Build 64.212 s. benchmark-49525383500:
212.802423 FPS, median 4.6531, p99 5.974, max 7.9324 ms, no drops/audio errors.

A packet-wide shader-upload experiment passed the same checks/images but did
not establish a game benefit: benchmark-49560119800, 211.797237 FPS, median
4.66, p99 5.9991, max 6.8075 ms. Removed that fast path. Existing packet checks
now also cover partial instruction/context uploads and their cursor advances.
performance-49518163900 measured 1059.83 draws and 124.64 maps/frame;
guest 2.615, commands 1.189, platform 0.538, uploads 0.383 ms/frame.

Common 32-bit RAM accesses previously compiled to two bounds checks, combining
SETB results, followed by a redundant pointer-null check. A cached word limit
replaces the bounds work with one comparison. Small/empty mappings and their
ends are checked near UINT32_MAX; all 21976 instruction, 579 memory, 6744
floating and 109 control cases pass. Build 213.309 s. benchmark-49554427300:
218.134822 FPS, median 4.4664, p99 5.8523, max 6.7389 ms, no drops.

The next revision returns range validity directly and uses checked 32-bit
offsets for words. Memory's constructor forbids wrapping spans, so underflow
offsets are beyond the word limit. The bounded native assembly probe confirms
one comparison without the pointer-null branch. This changes 36089 profile
hashes: refresh the compiler profile before assessing the final revision.

The direct read/write revision passes all CPU cases, 72 audio checks and 74
audio binding checks. Refreshed direct-airport-13384.profraw (32564744 bytes)
to direct-airport.profdata (19939672 bytes). Training build 272.004 s; use build
235.412 s, with one zero-count shader_binary profile mismatch. The counter-free
use build passes 184 hardware render cases and all 166 PNGs match. benchmark-
49541609400: 224.711398 FPS, median 4.3257, p99 5.8084, max 6.9813 ms.
Requested settings unchanged, no drops or audio errors. Stable 240 Hz unmet.

Shader uploads now pack the compiled constant range followed by the unchanged
viewport/fog/texture/input fields. HLSL uses the same recorded range and offset;
relative addressing and launch programs retain their full context. Queue groups
and D3D11.1 bindings use each program's actual aligned size. CPU snapshot ranges
remain separate to retain viewport consumers. Legacy buffer uploads share the
packing code. Existing wrap checks now switch between programs with zero/one
constant, while retaining changes within the same program. All 184 hardware
and WARP checks pass, all 166 PNGs match. The wrap case uses 4100 maps instead
of 8196; this does not by itself establish a game FPS gain. Builds 61.526 s
and 11.312 s for the added diagnostic coverage. Actual race measurement next.

benchmark-49423548600: 224.690378 FPS, median 4.3351, p99 5.7839, max
6.5416 ms, no drops or changed settings. No FPS gain established for packing.
The hidden window/settings checks pass. performance-49390696400 records
1096.48 draws and 108.88 maps/frame, 7191619 upload bytes/frame. Guest 2.255,
commands 1.021, platform 0.552, uploads 0.348 ms/frame; GPU median 1.393 and
p99 1.843 ms. Audio error remains empty. The two changed draw functions have
profile hash mismatches, so a matching profile is needed before deciding whether
to retain the packed upload change. CPU function profiles still match.

Repeat benchmark-49377179400 confirms 224.800691 FPS, median 4.3334,
p99 5.7788, max 6.1956 ms, no drops. Stable 240 Hz remains unmet. Latest F9
audio hot operation is CommitEffectData: 344.567 ms across 3205 calls (~0.108
ms/frame), followed by the three listener updates (~0.088 ms/frame each).
Investigate actual mixer synchronization before changing those semantics.
Canonical b2.exe is portable (AVX2 OFF), counter-free (profile generation OFF),
using direct-airport.profdata. All completed owned workers and games have exited.
Next: resolve the two changed draw-function profile mismatches, reassess packed
uploads in the actual race, and use the current F9 costs to choose the next root
cause. Do not infer game FPS from upload counts or mark the goal complete.

2026-10-12: the user accepted the overnight improvement as sufficient for the
upcoming release and withdrew the requirement to reach 240 Hz in this run.
Optimization stopped at that acceptance. Latest repeat: 224.800691 FPS,
p99 5.7788 ms, requested settings unchanged. Stable 240 Hz is not established.
No owned benchmark or build processes remain running.

Cleanup requested after acceptance: removed 39 comparison/training executables
from Release and obsolete scratch programs, objects, symbols, raw/unused
profiles, worker markers and duplicate diagnostics (4250019225 bytes total).
Release retains b2.exe and b2-tool.exe. Their hashes, the current symbols,
settings, inputs and active direct-airport.profdata are unchanged; save/data
files are intact. Benchmark captures, final validation output, reusable controls,
timings and the initial source snapshot remain. CMake configuration still passes.

2026-10-13: overnight 360 Hz optimization (active)

User renewed authorization for game automation and necessary computer use.
Settings: Airport Terminal 3, 360 Hz, 1x native, widescreen, interpolation off,
V-sync off; each measured segment remains <=30 seconds. Existing user edits,
saves, knowledge and private inputs are preserved. No subagents are used.
Supported input verified by native check-image against supported_target.json:
B5207C40C11D7C5B5E129EF555F7632FA3584A4240BD0421C2B1B9AD9BFED7BF.
Hardware remains Ryzen 5 5600X / RTX 5060 Ti. Baseline is the current local
LLVM PGO executable, AVX2 off, PE 6ACEDF24 / 82341888-byte native image.

Actual 15-second baseline: benchmark-49386549000, 226.550921 FPS, median
4.3795 ms, p95 5.5258, p99 5.8387, maximum 7.9865 ms; 3398 intervals,
no drops, settings unchanged. Native final image confirms active racing.
Detailed baseline: performance-49382928200, 3200 source records over
14.998763 seconds, full GPU timing coverage, no recorder limits or audio
budget overruns. Guest 2.2675 ms/frame, commands 1.1048, platform 0.5406,
uploads 0.3516, draws 0.2184, resources 0.1168; GPU spans median 1.4598,
p99 1.9398 ms. Peak RAM: 216.3 MiB working set, 189.0 MiB private memory.
The 2.777778 ms frame budget is not met. Sampling and recording overhead
are not used as acceptance FPS. Baselines and source snapshot are retained
under build/checks/overnight-360. All completed owned game workers exited.

Native arithmetic-formula trial: 247.229 s build, existing CPU checks passed;
arithmetic-race 224.068829 FPS, median 4.4598 ms, p99 5.7613 ms. No measured
improvement over 226.550921; restored the native arithmetic flag path.

Grouped x87 operand ranges: existing generated native blocks preflight shared
base/index/segment ranges instead of individual operands. Original instruction
order, provenance, unmasked exceptions and failed-memory fallback are retained.
236.542 s build; all existing CPU cases passed. Grouped-float-race measured
215.974669 FPS, median 4.7268 ms, p99 5.9011 ms. This is a regression in that
run; no speedup is claimed. It requires assessment with matching compiler data
before retention; removing it remains an option. Native image fell to 75796480
bytes. No binary-wide analysis, runtime decoder or game-code binding was added.

Native PC sampling: 15 seconds, 9728 samples, zero failures; bounded indexed
PE unwind table and per-thread context reads, with no whole-image disassembly.
Names with nonzero public-symbol displacement remain unresolved attribution;
exact native instruction PCs are preserved. CPU sampling perturbs gameplay and
native-sample's 209.631996 FPS is not an acceptance result. Both owned processes
exited and were audited. The temporary sampler is not shipped or required.

Audio batch: deferred DSP bytes remain producer-owned; commits publish owned
partial-word snapshots through the existing bounded control queue. Full queues
and oversized updates retain synchronous draining; reads, image replacement
and capture drain queued changes. Continuous-coefficient state is recorded at
publication. Identical listener values retain deferred-mask semantics while
avoiding repeated calculator calls. CPU, 77 audio and 74 SDK binding cases pass;
five additional effect cases cover partial writes, multiple commits, immediate
overrides, queue wrapping/backpressure and oversized updates. Replayed scene
samples still match uninterrupted mixing. Spatial calculations: 54 checks pass.
Audio-batch-race: 234.676648 FPS, median 4.3233 ms, p95 5.0466, p99 5.5009,
max 7.0065 ms; unchanged settings, no drops or audio error. Goal remains unmet.

The native tool's check-render exceeded two 30-second launcher limits before
creating its output directory. Offline tools compile diagnostic HLSL in their
renderer constructor; the game uses build-compiled shader bytes and recorded
zero gameplay compilations. This is not an in-game benchmark. Both timed-out
worker groups were stopped by exact PID/creation time and checked. The launcher
now waits for an exact owned console child to exit after terminating it, instead
of mistaking asynchronous process shutdown for a surviving worker. Full render
validation remains required and will use an appropriate offline-suite timeout.

Next batch: reuse persistent queued-draw descriptors (avoids repeatedly zeroing
256 slots), and generate integer arithmetic using the same native operation's
result and flags instead of adding/subtracting twice. Result/flag diagnostics
cover carry, narrow widths and upper-bit preservation. These changes are not
built/accepted yet. Refresh LLVM profiling, then remeasure actual racing.
Combined native arithmetic and refreshed profile: profiling build and use
build both passed. Training produced combined-airport-19368.profraw (31823184
bytes), merged into combined-airport.profdata. Training is not FPS acceptance.
Counter-free combined-use-race: 252.316997 FPS, median 3.9977 ms, p95 4.6157,
p99 5.1150, max 5.9938 ms, 3784 intervals / 14.997008 measured seconds.
No drops, changed settings or audio error. PE 6ACEF8B2 / 77242368-byte image.
CPU checks: 52 cases, 26026 integer, 579 memory, 6744 floating, 109 control.
All 77 audio cases passed, including scene replay; 74 SDK binding cases passed.
Hardware render validation: all 224 cases, zero debug messages, 55.748 s
for the full offline suite. Offline constructor HLSL compilation explains the
previous 30-second suite timeouts; game shader compilation remains zero.

Graphics upload candidate: adjacent draws in one synchronous bounded group
reuse identical source streams and current attributes. Stride, packed extent,
pointer and source extent must all match; validation still runs for each draw.
Reuse resets at every group/capacity split, and indices, constants, ordering
and program state remain independent. A cumulative reused-byte counter is
reported in live JSON. The existing queued wrapping check now draws repeated
geometry through changing programs/constants and verifies that source bytes
were actually reused. This candidate still requires render and race acceptance.

Listener correction: unchanged settings cannot suppress refreshes of mutable
rolloff curves. A pending/same-value setter with a live curve retains the native
refresh. The native buffer constructor already applies initial spatial state.
The added SDK-level check changes live curve bytes between identical listener
settings and compares settled output levels. Its initial fixture errors were
corrected: actual verified curve API is 22E8C4 (not 22E796), its offline voice
needs stereo-only routing without a reverb image, and a zero curve endpoint
attenuates progressively rather than muting at an intermediate distance.
Original evidence: curve-binding-evidence.json, the existing native_api.h
signature and existing independent rolloff checks in spatial.cpp. No new
platform binding or callback was invented. Final fixture acceptance is pending.
Shared-upload milestone: shared-vertices-render and -warp both pass 224/224
cases without debug messages. All 207 comparable hardware PNGs match the
combined baseline exactly. Queued-order submission: 867.472 ms versus 852.355
ms earlier; 4100 maps in both, upload bytes 25167472 versus 51121328. Reduced
bytes alone do not establish a component submission-time gain.

shared-vertices-race: 255.305242 FPS, median 3.9289 ms, p95 4.5368,
p99 5.0462, maximum 5.6579 ms; 3829 intervals over 14.997734 seconds.
Settings unchanged, no drops/audio errors/runtime shader compilation.
PE 6ACF03E3 / 77209600-byte image. About 12.7% above the fresh 226.550921
baseline; still below 360 FPS. The whole 51-second run reports 5827631144
reused vertex bytes; this is not a measured-segment average.

Final curve fixture passes: 54 original spatial cases plus 83 SDK binding
cases. It confirms attenuation after changing live curve bytes and repeating
an identical listener setter, allowing the existing one-mix gain ramp to settle.
The shared descriptor is cleared before the later stream fixture, so buffer
format pointers cannot become stream callbacks. No production callback changed.

shared-vertices-detailed: 9.997592 seconds, 2389 source records, full GPU
coverage, no recorder/storage limits. GPU median 1.34736, p99 1.73536 ms.
Approximate exclusive CPU wall cost per source record: guest 2.045 ms,
GPU commands 1.064, platform 0.383, uploads 0.296, drawing 0.210, resources
0.110. Recorder overhead makes this diagnostic slower than frame-only runs.
All hidden-window/presentation/settings checks pass; no game boot for that suite.
User settings stayed byte-identical: SHA256
5FECB9F6BB39BC85F3B5BF528432A9CB4447AAA68B193CE7F661844AE1BF968C.

Continuation checkpoint: goal is ACTIVE and UNMET. Canonical b2.exe is
counter-free, AVX2 OFF, using combined-airport.profdata. The new draw-stream
and listener functions have changed compiler control flow; refresh their profile
before deciding whether to retain/reject the upload change. Keep user pre-existing
edits (captured in start.diff and individual start-*.cpp/h snapshots), knowledge,
saves and private inputs. All benchmarks remain <=30 seconds; 10-second F9
scripts avoid recorder capacity limits when approaching 360 FPS. Do not claim
menu/crash acceptance or 360 Hz: those are still outstanding.

Next useful work: bounded original-byte analysis of sampled SDK paths 219750,
21F9C0 and ED570; native compiler lowering improvements must retain flags,
memory faults, callbacks and CPU checks. Consider graphics/CPU overlap only with
verified ownership/fence behavior, not assumptions about borrowed RAM. No extra
agent, computer-use session or permission request is needed for current authorized
benchmarking. Current actual race result is 255.305242 FPS, not the target.
2026-10-14: flag liveness trial (rejected)

Verified small original ranges for 219750, 21F9C0 and ED570 with native
analysis capped at 256 instructions each. Reports: sdk-00219750.json,
sdk-0021F9C0.json, sdk-000ED570.json in overnight-360. No whole-file scan.
A build-only control-flow pass tracked definitely overwritten CPU flag bits,
with full state at calls, returns, loop checkpoints, trap/port operations,
enhancement callbacks and jump-table error paths. Partial flag helpers retained
incoming unmodified bits and existing undefined-flag policies. CPU references
passed all 52 cases / 38176 instruction comparisons; audio/spatial checks passed.

Training: flags-airport-4708.profraw (31809264 bytes), ten-second F9 segment,
normal exit. Counter-free build: flags-airport.profdata, AVX2 OFF, profiling
OFF. Actual 15-second flags-use-race: 253.337319 FPS, median 3.9781,
p95 4.6032, p99 5.1273, max 5.7783 ms; 3799 intervals / 14.995817 seconds.
No drops, setting changes or audio errors. It did not beat 255.305242 FPS.
The added control-flow pass/helpers/tests are rejected rather than keeping
unproven complexity. Restore uses the exact pre-flags snapshots, preserving
all earlier user and optimization edits, plus combined-airport.profdata.
Restoration build/check is in progress; the goal remains active and unmet.
Flag-trial restoration completed: flags-restore-build 124.150 s and all
52 / 26026 instruction / 579 memory / 6744 floating / 109 control checks pass.
The exact pre-flags sources are restored. Canonical build is counter-free,
AVX2 OFF, using combined-airport.profdata. No owned workers remain. The actual
race target remains unmet; best verified build measured 255.305242 FPS.

Next goal turn should target larger measured CPU/GPU-command costs, not retain
flag-liveness complexity without a gain. Source snapshots and rejected trial
profiles/reports are private in overnight-360. User edits/data are preserved.
Consider improving the graphics command/state preparation or verified native
integer/copy lowering; investigate actual ownership before any render worker.
Do not invent callbacks, disable features to change the requested settings,
claim component gains as game FPS, or mark this goal complete.
2026-10-14: deferred D3D11 submission trial (rejected)
An owned pending-query flag deferred explicit context Flush from each push-buffer
submit to actual busy/fence/idle requests. All existing RAM upload boundaries
were retained. The 15-second real race measured 252.054908 FPS, median 3.9884,
p99 5.3098, max 8.4675 ms, with no drops or settings/audio changes. No FPS
benefit was established against the 255.305242 build. The extra pending state
and its diagnostic extension are removed using exact pre-trial snapshots.
Microsoft documents that unnecessary Flush incurs overhead, but this game's
actual 2.3 submissions/frame did not establish it as the remaining bottleneck.
Reference: https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-flush
Next controlled experiment uses existing B2_AVX2 with a matching new LLVM
profile; prior AVX2 checks used mismatched architecture profiles and were
inconclusive. Current hardware supports the existing native AVX2 runtime guard.
2026-10-14: matched AVX2 trial (rejected)
CPU checks pass all 52 groups, 26026 instruction, 579 memory, 6744 floating
and 109 control cases. Training used avx2-shared-airport-18832.profraw,
31937024 bytes, a ten-second F9 segment with no storage loss or audio error.
The matched counter-free avx2-matched-race measured 251.244577 FPS, median
4.0116, p99 5.2594, max 6.0132 ms, 3768 intervals / 14.997339 seconds.
No FPS benefit over portable 255.305242 was established. Restore AVX2 OFF.
Next: merge original MMX copies across harmless padding NOPs and retain
validated native source/destination pointers in caller-saved registers.
Original bytes 219890..2198D4 show 16 MOVQ/MOVNTQ split only by two NOPs.
Keep original instruction order, MMX registers, NT stores, failed-range
fallback and diagnostic checkpoints. No runtime decoding or new callback.
2026-10-14: copy/curve and compiler import observations
Portable copy-curves build: 253.815735 FPS, median 3.9666, p99 5.0072,
max 5.6282 ms; 3806 intervals / 14.995130 seconds. CPU 52/26026/579/6744/109
and spatial 54 plus 83 SDK binding checks pass. No drops/settings/audio errors.
The simpler grouped MMX helper now uses two native pointers for the verified
16-operation copy at 219898..2198D4 and ignores its two padding NOPs. Source
order, MMX tags, non-temporal stores, alias and partial-fault checks pass.
Curve snapshots preserve in-place edits on identical listener calls without
allocating in gameplay. These changes have not established an FPS improvement.

LLD import-instr-limit=1000 trial: 254.738063 FPS, median 3.9451, p99 4.9766,
max 5.808 ms, 3820 intervals / 14.995796 seconds; CPU checks pass. Native image
77410304 bytes versus 77242368 before. No clear gain: restore exact pre-trial
CMakeLists.txt and keep the simpler compiler settings. No owned workers survived.
LLVM option reference: https://www.llvm.org/doxygen/FunctionImport_8cpp_source.html

Bounded original-byte analysis of six listener wrappers and their real callees
confirms flags: position 1 at 22F730 (83483401), velocity 2 at 22F7A3
(83483402), orientation 4 at 22F6BE (83493404), distance 8 at 22F573
(83483408), rolloff 16 at 22F631 (83483410), doppler 32 at 22F5D2
(83483420). Reports spatial-sdk-*.out.log each cap 128 instructions. The two
math routines are intentionally partial analyses, not whole-function claims.
22EC59 preserves computed listener flags at +4 and right-vector state at +44;
new code marks only changed inputs, and retains those computed fields across
unrelated listener changes. Math calls share one CPU/floating context, restoring
host state before native C++ result conversion. All 54 spatial /83 binding checks
pass; 1000-calculation training diagnostic 1.714 ms versus 1.9199 prior. This
component result does not establish game FPS.

New LLVM training uses ordinary frame-only gameplay with F9 OFF. The old F9
training selected timing-only branches that are absent during acceptance runs.
Profile audio-flags-airport-18540.profraw, 31824824 bytes, came from one normal
15-second segment with unchanged 360/1x/widescreen/no interpolation/no V-sync.
The instrumented 175.419634 FPS is training only, not an acceptance result.
Counter-free audio-flags build and checks/actual benchmark are in progress.
2026-10-14: diagnostic breakdown and restoration
Counter-free normal-profile/audio-flags run: 253.693832 FPS, median 3.9596,
p99 5.1399, max 7.361 ms; 3805 intervals /14.998394 seconds, no drops/settings
or audio errors. CPU checks pass; spatial 54 + SDK bindings 83 pass. The
counter-free 1000-calculation diagnostic was 2.1783 ms, so the instrumented
component reduction was not a proven game performance improvement.

Temporary fine GPU scopes, ten-second F9: 2274 source records, no limits.
Exclusive wall cost/record: guest 2.041, platform 0.361, GPU 1.292 total,
upload 0.295, drawing 0.213, resources 0.115. Within GPU: unclassified packet/
submission code 0.506, per-draw preparation 0.270, queued upload planning
0.260, textures 0.128, target selection 0.066, other state assembly 0.063 ms.
Fine scopes add recorder overhead: these timings are diagnostic, not acceptance.
GPU median 1.495744 / p99 1.958688 ms. Remaining guest hot paths per record:
219750 0.221, 21F9C0 0.186, 90A50 0.164, ED570 0.114, 27BD9 0.097,
90660 0.087; other guest 0.977 ms. All temporary scopes are removed.

Fixed constant bank bulk-copy trial: 254.669448 FPS, median 3.9357,
p99 5.0137, max 5.9803, 3819 intervals /14.995910 s, no drops/settings/audio
errors. No gain over 255.305242 was established; remove the extra mapping table.
All new continuation experiments are rejected as unproven: deferred Flush,
matched AVX2, MMX padding/pointer cache, curve snapshot, precise listener flags,
shared math floating scope, larger ThinLTO import limit, new profile and fixed
constant bulk mapping. Exact pre-trial snapshots restore the previous verified
sources and combined-airport.profdata. This retains earlier user work and the
previous goal's accepted CPU/audio/vertex reuse changes. Restoration is running.

Next useful investigation: build-only fusion of consecutive pure 32-bit GPR
instructions into one compiler inline-assembly block. Preserve the project's
undefined-flag policies (logic keeps AF; shifts keep AF and OF for count>1),
all CPU flags, GPR values, diagnostic fallback, branch/loop checkpoints and
special enhancement hooks. No runtime decode or invented CPU callback. Original
2197FB..219803 is MOV ECX,EAX / SUB ECX,EDX / SHR ECX,1 / ADD ECX,EDX / SHR ECX,9:
current lowering extracts flags separately after each arithmetic operation.
Only consider this with meaningful comparisons against the original compiled
sequence and original-byte verification. Prior flag-liveness trial failed and
was removed; don't restore its complexity. GPU threading needs verified owned
snapshots, fence ordering and main-thread SDL behavior; borrowed RAM cannot be
used asynchronously without a proven ownership design. Goal remains unmet.
Restoration completed: round-restore-build, CPU 52/26026/579/6744/109, spatial 54 +83 binding checks all pass. All six restored source snapshots match exactly; no owned workers remain. Canonical b2.exe is counter-free /AVX2 OFF/combined-airport.profdata. User settings hash is unchanged. Best verified actual race is still 255.305242 FPS; 360 Hz and menu/crash acceptance remain unmet. Goal ACTIVE.
2026-10-14: pure integer block trial
Previous goal turn classified as progress: bounded GPU timing split and rejected
experiments changed the next action; target remains sustained 360 FPS/unmet.
A build-only pass now groups up to 24 contiguous pure 32-bit GPR instructions
with at least two flag writers, stopping at real branch/loop/noncontiguous
boundaries and enhanced world sites. Original memory, port, control, floating
and dynamic-shift operations remain individual native C++ instructions.
The emitted compiler inline assembly retains original GPR/ALU order; captures
final arithmetic flags once, plus AF/OF after their last defined writer when
later logic/shifts preserve those bits by the project's undefined-flag policy.
Early-clobber constraints prevent equal input values from accidentally sharing
registers overwritten earlier in a block. Original C++ sequences remain compiled
for diagnostics/non-Clang hosts. No decode or callback is added at runtime.

Original bytes 2197FB..219803: 8BC8 / 2BCA / D1E9 /03CA /C1E909, verified
from the bounded original SDK analysis. Private verifier extracts only bounded
original function ranges for 219750, 21F9C0, ED570, 10CFE0, E61D0 and 211054,
then compares generated blocks against the existing instruction-at-a-time C++.
18 blocks /180000 random, boundary and equal-register comparisons pass, covering
GPR values and all flag bits. Existing hardware-backed CPU helper comparisons
also pass: 52 groups,26026 integer,579 memory,6744 floating,109 control.
Spatial 54 plus 83 SDK binding checks pass. No new test files enter the repository.

Training uses F9 OFF /ordinary 15-second frame recording at requested settings.
integer-airport-5504.profraw:31839880 bytes. Instrumented169.959715 FPS is not
acceptance. Native training build and all owned tool/check workers exited cleanly.
Counter-free integer-airport.profdata build is compiling/linking; benchmark pending.
Counter-free integer-race measured 252.568625 FPS, median 3.99, p99 5.0769, max 5.7277 ms;3787 intervals/14.993945 s. All CPU/spatial checks pass; no settings changes, drops or audio errors. No FPS benefit over255.305242 is established. Remove the pure-GPR fusion using exact pre-integer-runs snapshot; keep private generated verifier/180000-case evidence. Canonical restoration will use combined-airport.profdata. Current goal remains active/unmet.
2026-10-14: direct primary RAM check (retained)
The native cache now checks ordinary four-byte primary addresses before alias
folding. Aliases, IO, other mappings and faults retain the previous path. The
same unsigned underflow/end-range proof applies; no unchecked read is added.
Existing near-UINT32_MAX, suffix alias, adjacent mapping and device checks pass.
No new test is needed: existing 579 memory cases cover the reordered checks.
Native source generation has the rejected integer pass removed exactly.
The device already uses D3D11_CREATE_DEVICE_SINGLETHREADED; no flag change was
made. No computer use or subagent was activated.

Training: primary-direct-airport-12784.profraw,37666064 bytes, F9 OFF, ordinary
15-second game profile. Its156.643866 instrumented FPS is not acceptance.
Counter-free primary-direct-race:265.347045 FPS, median3.7603,p95 4.3672,
p99 4.8022,max5.4642 ms,3980 intervals/14.999225 measured seconds. Requested
360Hz/1x/widescreen/interpolation OFF/V-sync OFF remained unchanged. No dropped
frames or audio errors. Native image83857408 bytes. This improves the prior
255.305242 actual result; keep the four-line direct check.
CPU52/26026/579/6744/109, spatial54 +83 SDK binding and audio77 checks pass.

Ten-second F9 primary-direct-detailed:2396 source records, no limits, GPU median
1.390336,p99 1.737792 ms, full timing coverage. Approximate exclusive cost per
record: guest1.999, platform0.365,GPUcommands1.086,uploads0.308,drawing0.219,
resources0.118 ms. Recorder overhead prevents using this as FPS acceptance.
Peak working set230227968 bytes /private203436032. Hardware remains Ryzen5
5600X /RTX5060 Ti. User settings hash unchanged. All owned workers exited.
Canonical b2.exe: AVX2 OFF, profiling counters OFF, primary-direct-airport.profdata.
Private comparison b2-360-primary.exe/pdb is retained alongside earlier exact
owned comparison binaries for A/B work. Do not publish them. Clean only exact
owned paths when no longer needed; preserve pre-existing user data.

Goal remains ACTIVE and UNMET. Best actual race265.347045 FPS (2.777778 ms
budget still not met); menu/crash/loading acceptance remains outstanding.
Next possible investigation: analogous checked common-address handling for
byte/halfword accesses, or larger guest/render overlap with proven ownership.
No FPS claim from components. Avoid resurrecting rejected flag/ALU/AVX2/flush/
constant-bank experiments without new evidence. Preserve earlier user edits.

2026-10-14: final wrap-up requested by user
The user accepted the measured 265.347045 FPS result and asked to stop pursuing
360 Hz. The ACTIVE/UNMET continuation notes above are superseded by this request;
360 FPS was not reached. Menu/crash/loading acceptance at 360 remains unproven.

The two edits interrupted by the network error were a byte/halfword primary-RAM
shortcut in cpu.h and its expanded boundary checks in cpu_checks.cpp. Only the
instrumented training run completed; no counter-free FPS benefit was established.
Both files were restored exactly to their pre-trial snapshots, retaining the
verified four-byte shortcut and all earlier improvements and user changes.

Canonical b2.exe was rebuilt with AVX2 OFF, profiling counters OFF, and
primary-direct-airport.profdata. Final CPU checks pass: 52 groups, 26026 integer,
579 memory, 6744 floating, 109 control, 36149 compiled functions. Supported input
hash/size match knowledge/supported_target.json. The retained build's earlier
audio/spatial/render checks and 15-second Airport Terminal 3 measurement remain
the verification evidence; no further game benchmark was needed for wrap-up.

User settings SHA256 remains
5FECB9F6BB39BC85F3B5BF528432A9CB4447AAA68B193CE7F661844AE1BF968C.
All tracked training/build/check workers have exited. Eleven owned comparison
EXE/PDB files moved from Release into ignored overnight-360/comparison-binaries;
Release contains only b2.exe and b2-tool.exe. Private evidence is preserved.

2026-10-14: V-sync, upscaling and distance override corrections

User explicitly authorized game automation for these three tasks. All live runs
lasted at most 30 seconds; recorded segments lasted 5-6 seconds. No computer-use
API, subagent, Python, commit, push or release publication was used. Hardware:
Ryzen 5 5600X, 32 GiB, RTX 5060 Ti; native QueryDisplayConfig reports 144.001 Hz.
Supported XBE SHA256: B5207C40C11D7C5B5E129EF555F7632FA3584A4240BD0421C2B1B9AD9BFED7BF.
Evidence is in build/checks/nap-performance-20261014. Scripted saves use a copy
under automation-user; original save-file hashes were unchanged.

V-sync previously combined an independent source/display timer with DXGI's
waitable presentation queue. Visible windows now follow the queue at the monitor
rate when the selected cap is at least that rate. Lower caps retain the software
timer; hidden, minimized and occluded windows retain it too. Interpolation keeps
60 Hz simulation and uses nonblocking extra presentations during guest work,
with bounded availability waits only during the remaining source-frame wait.
The first 144 Hz race recording measured 143.867 presented FPS. Fullscreen,
3x, 4x MSAA, 16x anisotropy and interpolation measured 144.056 presented FPS
with 16.634 ms median source intervals. 60/120 Hz title recordings measured
59.862/119.897 FPS and 16.6667/8.3333 ms median intervals. Severe random drops
were not reproduced in the old title baseline; these checks establish short-run
behaviour, not an exhaustive long-session stability claim.

Upscaling now treats the selected scale as output resolution. Input uses half
that scale rounded up to a native integer scale; 1x uses native temporal AA.
The former 3x setting rendered at 3x and reconstructed 6x; it now renders at 2x
and reconstructs 3x. Vendor quality settings match the actual ratio. Optical
flow caches exact FP32 finite differences and shared source patches, stops at
an unchanged candidate and avoids repeated identical endpoint comparisons.
Upscaling consumes measured endpoint motion, depth, confidence/rejection masks
and scene-cut detection; it no longer runs the 21-neighbour occlusion-support
pass needed for intermediate images. Actual interpolation retains that pass.
All DLSS/FSR/XeSS dispatch, moving-geometry/HUD, resize, native AA and custom-ratio
diagnostics passed with zero D3D11 messages. Image-estimated motion remains a
quality/performance limitation; this does not claim exact engine motion vectors.

Matching 1x-input/2x-output Airport Terminal 3 runs: original FSR GPU median
4.865664 ms, p99 5.1168 ms; final fsr-motion 4.606656 ms, p99 4.983456 ms.
Median source intervals changed 4.8429 -> 4.597 ms. Earlier gradient-only and
shared-patch changes did not establish a race gain; their interpolation fixture
improved while keeping identical hardware detail/edge/HUD results. Component
timings are not game FPS. The fsr6-comparison run is excluded: settings accept
only scales 1-4, so its invalid 6x request retained 1x and was not a valid former
3x-input/6x-output comparison. No matched old 3x game benchmark is claimed.

Distance override now extends camera clipping and prop fade by 50%. Original
E84C0 writes camera+84; E8450 begins its update. Each camera retains its own
original/applied values, avoiding compounding when 4431F0/443850 alternate.
Original 90D30 stores the actual rendering camera at 5232C0 and the current
visibility origin at manager+118. Its signed neighbour records at origin+218
select resident sections at manager+D0; mesh choices belong to that origin.
Horizontal coverage of those original resident bounds supplies the world range,
extended by 50% within the extended camera limit. Distant sections are rejected
before original 90740 frustum tests and material submissions. Matching resident
sections preserve the original origin/record mesh choices unless highest LOD is
enabled. Extra sections retain their verified nearby record. No per-frame I/O
or allocation is added. Whole PSW/P2W storage is still preloaded during loading;
preloading the file no longer implies submitting the entire track.

Heartbreak Hills [R], verified live track ID 28: original radius 727.4073,
extended 1091.111, camera far 1600 -> 2400, 36 of 72 sections rejected by distance,
19 selected for rendering. Same input sequence before/after the visibility fix:
173.027 -> 198.511 recorded FPS, median 5.7368 -> 5.1996 ms, p99 6.8599 -> 6.478 ms.
Camera positions/workloads can differ as frame rates change; this is a short
race comparison, not a fixed-view component benchmark or a sustained 360 FPS
claim. Airport Terminal 3 also passed with a 564.7264 -> 847.0896 range and stable
1600 -> 2400 camera clipping. Compact tracks can fit entirely within the extended
radius. Heartbreak Hills [R] captures show green wall arrows after the earlier
file-read/texture-cache coherence fix. The title capture shows Press START.

Native window/flow checks pass on RTX 5060 Ti and WARP: moving detail, endpoints,
stationary HUD, disocclusion, scene/colour cuts, reset, opt-out and backpressure.
Hardware motion/detail/edge errors remained 0.000/0.032/0.427, HUD error 0.
All 52 CPU cases and 244 hardware rendering checks passed. Shader compilation
during game/window diagnostics remained zero. The last hardware window check
also passed after hidden/minimized/occluded pacing guards: 144.170 generated Hz,
59.977 source Hz under backpressure, unchanged detail/edge/HUD results. A 360 Hz
selection with V-sync measured 143.886 FPS on the 144 Hz display. The final
fullscreen race rerun measured 143.286 FPS; it did not hold exactly 144 at every
instant under detailed diagnostics. All owned workers exited; final audit found
no surviving game/tool/build workers and all six original save files unchanged.
The canonical Release executables contain the validated changes.

Final user-settings SHA256 is
6EBC0CE42C2B1932A76CCE6E70D29E230E611C21DB98E691530804AEC18033C9;
its last write was 12:31:08, before this goal started at 12:47:52. User preferences
were therefore not written during the automated work. Final b2.exe is 83761152
bytes, written 14:48:11; b2-tool.exe is 2723328 bytes, written 14:29:59.

Primary API references used during investigation:
https://learn.microsoft.com/en-us/windows/win32/api/dxgi1_3/nf-dxgi1_3-idxgiswapchain2-getframelatencywaitableobject
https://learn.microsoft.com/en-us/windows/uwp/gaming/reduce-latency-with-dxgi-1-3-swap-chains
https://raw.githubusercontent.com/NVIDIA/DLSS/main/doc/DLSS_Programming_Guide_Release.pdf

HUD interpolation overhead - 2026-10-15

The correctness/HUD recovery build reproduced the reported regression on Airport
Terminal 3. The final HUD suffix initialized four full-resolution bases with a
sample-frequency fullscreen shader, then copied all five resolved images into
history. Depth reduction also ran every source frame although the restored scene
interpolation no longer reads it. No scene-motion algorithm or HUD blend changed.

Completed single-sample images and their views/targets now rotate into history;
MSAA bases resolve directly into their history destinations. This removes five
full-image copies and four otherwise redundant resolved images. Known alpha from
full clears is retained through RGB-only draws and matching framebuffer copies.
Alpha-writing draws and incompatible partial clears invalidate that knowledge;
unknown alpha retains the original per-sample initialization. Known alpha allows
native clears instead of the fullscreen shader. Diagnostic depth/camera retention
is opt-in through --frame. At 3x/MSAA4, these changes remove 65.625 MiB of explicit
GPU image storage. No per-frame allocation, CPU readback or GPU wait was added.

Renewed user permission covered these automated comparisons. Each recording was
15 seconds with interpolation on, or 5 seconds with it off; menu/loading setup
preceded the measured interval. Settings and saves used private copies. Track
RAM remained 2, and the native final screenshot shows the Airport race.
Hardware: AMD Ryzen 5 5600X / NVIDIA GeForce RTX 5060 Ti, local LLVM PGO build.

3x, fullscreen, widescreen, MSAA4, AF16, highest LOD and extended distance,
144 Hz selected, interpolation on, V-sync off:
                           Before       After
Displayed frames/second    136.950      143.025
Source median (ms)           16.6667      16.6667
Source p99 (ms)              17.3708      17.0875
Source maximum (ms)          17.5153      17.3213
GPU work median (ms)         12.3076      11.9463
GPU work p99 (ms)            16.1276      15.5725
GPU work maximum (ms)        16.2482      16.0916
Peak local GPU bytes     1007267840    934064128

Both runs have 899 complete source intervals, with no interval over 20 ms.
This recovers most of the displayed-rate loss toward the 144 Hz cap; it does
not eliminate the cost of correctly separating and compositing the HUD. Buffer
rotation alone reduced memory but did not establish a speed improvement. The
known-alpha clear path supplied the observed display-rate recovery.

Required 1x, fullscreen, widescreen, 360 Hz selected, interpolation and V-sync
off, other enhancements off: 232.494 FPS before, 239.810 FPS after. Median/p99
source intervals were 4.3930/5.5689 ms before and 4.1575/5.1737 ms after. These
short checks show no observed opt-out regression; the 360 FPS goal remains unmet.
Do not attribute the small uncapped difference to a proven separate optimization.

Validation: 248 render cases on each of hardware and WARP with zero D3D debug
messages; 13116 visibility checks on each backend; all three vendor upscalers.
Existing HUD diagnostics pass on both backends. The added focused case compares
known-clear alpha against sampled alpha while repeatedly recycling both history
slots. All 27 hardware HUD PNGs, including MSAA, menu, intermediate images and
original endpoints, are byte-identical to a private build of the pre-fix renderer.
Explicit capture still exports both 640x480 B2D1 depth images at the expected
0.9 depth on native and MSAA rendering. Diagnostic shader compilation remains 0.

The shipping window diagnostic still rejects the pre-existing thin-line quality
failures. A private diagnostic logs/excludes the four existing world-quality
gates to reach the HUD assertions; neither shipping gates nor tolerances were
weakened. The actual logged line/detail failures match the pre-fix renderer.
The normal Release executable was rebuilt. Six personal save hashes and the
settings hash are unchanged. All owned game, diagnostic and build workers exited.
Reports and source snapshots: build/checks/hud-performance-20261015.

Correctness-fix optimization audit - 2026-10-15
----------------------------------------------
Reviewed the eight fixes recorded in research/correctness-audit.txt. Two
avoidable costs were removed without changing their corrected behavior:

* Ended-thread reclamation scanned the thread list after every scheduler yield,
  including retained completed threads and their pending I/O/handle references.
  It now runs after thread termination, dispatcher-owner release or I/O
  completion. A deferred current context keeps collection pending until another
  context runs. Fibers, stacks, handles, waits and explicit references retain
  their existing lifetime rules.
* Temporal reconstruction now covers the game's actual full-size auxiliary
  framebuffer, exposing its per-draw constant upload to the main scene workload.
  Consecutive draws now reuse identical jitter/mask constants and their shader
  bindings. Value changes still upload; target/postprocessing changes invalidate
  bindings, and reconstruction reconfiguration invalidates the cached value.

The other fixes did not justify extra machinery: REP MOVS already uses memmove
when resolved storage permits it; DSP count handling runs at loop setup; default
floating state is initialization data. ACPI/CPU clock conversion and asynchronous
file/event ownership remain unchanged. The pinned SDL3 implementation already
coalesces identical motor strengths, so no second rumble cache was introduced.

Release build and existing diagnostics passed: 52 CPU groups (26026 instruction,
1551 memory, 6744 floating and 109 control cases), 2061 storage/thread cases,
67 effects checks, 57 input cases, 248 hardware rendering cases, and DLSS/FSR/XeSS.
Rendering and reconstruction reported no D3D11 debug messages. All 12 upscaling
PNG outputs are byte-identical to the pre-audit executable's outputs, including
the actual framebuffer depth/HUD-mask fixture and native/custom output sizes.
No shipping tests or tolerances were added or weakened.

Authorized paired Airport Terminal 3 recordings used Ryzen 5 5600X / RTX 5060 Ti,
360 Hz selected, widescreen, 1x native resolution, interpolation off and V-sync
off. Separate private saves/settings were copied from the same seed per run.
The car stayed at the start so differing uncapped speeds could not move it into
different scenery. Each recording lasted about five seconds, after menu/loading
setup; each game invocation requested 28 seconds. Both native rendering and
DLSS at native input/output resolution were measured. The track field remained
2 in all four runs, and gameplay compiled no shaders during these recordings.

                                before          after
Native source FPS               259.018         258.705
Native median frame ms            3.7988          3.8027
Native p99 / maximum ms            4.6694/5.0451   4.6484/5.2330
Native draw submission ms/frame    0.239163        0.241004
DLSS source FPS                 208.720         211.269
DLSS median frame ms              4.7710          4.7259
DLSS p99 / maximum ms              5.7002/6.2739   5.7708/6.0725
DLSS draw submission ms/frame      0.328576        0.261169
DLSS mean draws/frame          1183.341        1179.163
DLSS median measured GPU ms        4.776032        4.739008

CPU draw-submission time with DLSS fell 20.5% per frame (20.2% per draw). This
does not establish a comparable overall FPS gain: the native run was unchanged,
and the short DLSS run improved only 1.2% while remaining GPU-limited. The 360 FPS
target is still unmet. No separate gameplay speed claim is made for thread cleanup.
Initial moving-car captures were excluded because scene progression changed the
workload. An initial stationary capture hit an existing output filename; fresh
paths were used for the four completed comparisons above.

Baseline b2.exe SHA256:
4A39AFEA10A978977C5FCF6F3BB47B2F6143E1BCF5D4F324F2E0D63CBDFC780F
Optimized Release b2.exe SHA256:
D4E37A595B86ACB781DB45635303B0CC63EF8285B641FF2B8734F25B95067F28
All six personal save hashes and the settings hash remained unchanged. No owned
game, diagnostic or build workers remained after validation.
Reports, source snapshots, image hashes and isolated automation settings:
build/checks/correctness-performance-20261015.

Linux gameplay validation - 2026-10-21
--------------------------------------
Authorized Airport Terminal 3 run under Ubuntu 24.04 / WSL2 on Ryzen 5 5600X.
Renderer: llvmpipe (LLVM 20.1.2, 256 bits), CPU software Vulkan. The host RTX
5060 Ti was not used. This cannot establish native Linux GPU performance.
Settings: 360 Hz selected, 1x native, widescreen 16:9, frame generation off,
V-sync off, upscaling and other graphics enhancements off. WSL's virtual
monitor reported 59.96 Hz. SDL dummy audio was required because WSL's
PulseAudio server socket was absent; audible playback was not verified.

One bounded moving-car measurement completed: 29.977869 s recording,
29.855478 s of source intervals, 233 intervals, 7.804263 FPS. Median/p95/p99/max
frame times: 114.641452 / 139.768188 / 210.242336 / 2593.593216 ms. No recorder
drops; settings unchanged. Captures before and after show the original race,
vehicle movement and HUD. RAM track fields at 003525E0 retained ID 2. The game
completed 2696 original flips and 2696 presentations, with zero runtime HLSL
compilations, no audio-engine error and only the requested window-close stop.
A late resource sample recorded 2213744 KiB peak resident memory for the entire
session, including loading and the software driver. It is not GPU memory.
The user reviewed the live result and said it looked fine. No runtime code was
changed during this validation. All owned game processes exited.

Raw benchmark: build/captures/benchmark-77301942426/benchmark.json.
Pre/post captures: build/captures/frame-42254566464 and frame-78219613421.
Isolated settings, saves, scripts and results are under
build/checks/linux-gameplay-20261021-164251.

Muted offline Airport optimization - 2026-11-01
---------------------------------------------
User renewed benchmark automation permission and prohibited computer use. All
runs used local single-player Airport Terminal 3, muted master output, original
audio processing retained, 360 Hz selected, fullscreen, 1x native, widescreen,
interpolation/V-sync/AA/AF/AO/HDR off and original draw distance. No computer use
or network transport was used. Settings and six personal save/storage files
were hashed before/after and are unchanged. Each accepted recording lasted ten
seconds; menu/loading setup preceded recording. Private save copies were reset
per run. Track fields at 003525E0 remained 2; runtime shader compilation was 0.
Early introduction-only recordings were excluded from the race comparison.

Hardware: AMD Ryzen 5 5600X / NVIDIA GeForce RTX 5060 Ti, Windows D3D11,
counter-free LLVM Release using the existing primary-direct-airport.profdata,
AVX2 off. Two low-overhead recordings per version/scene were pooled by elapsed
source-frame time. Driving held the accelerator from script second 36; both
scenes recorded seconds 40..50. Traffic varies between launches, so these are
short scene measurements, not a deterministic whole-track FPS guarantee.

                              Before       Final
Stationary source FPS         267.037810    280.242037  (+4.94%)
Stationary median ms             3.6193       3.4455
Stationary p99 / max ms          5.0543/6.0664 4.8080/5.7479
Stationary source intervals       5340         5603
Driving source FPS            267.046385    276.819622  (+3.66%)
Driving median ms                3.5961       3.4562
Driving p99 / max ms             5.1794/8.7183 4.8959/6.6195
Driving source intervals          5339         5535
No recorder drops, settings changes or intervals above 20 ms in these runs.
The 360 FPS / 2.778 ms sustained target remains unmet.

The main constraint is CPU work, not GPU execution. Separate ten-second F9
profiles measured guest code at 1.907 -> 1.776 ms/source record, GPU command
processing at 1.241 -> 1.260 ms, and median GPU work at 1.528 -> 1.537 ms.
The original shader-copy routine 219750 fell from 228.266 to 183.510 ns/call
(19.6%); 90A50 fell from 752.036 to 594.696 ns/call (20.9%). Vertex packet
writer 21F9C0 stayed effectively unchanged, 152.942 -> 153.393 ns/call.
These instrumented wall costs include recorder/scheduling effects and are not
the low-overhead FPS result. Recorder limit counters were zero. Working-set
peaks during these profiles were 223674368 -> 225673216 bytes; private committed
memory was 203935744 -> 204050432 bytes. Loading peaks were not measured.

Root cause: original MMX streaming stores bypass the host cache, immediately
before the host consumes the command/vertex bytes. Validated bulk RAM helpers
now emit cached MOVQ stores. Memory order, MMX state and original SFENCEs remain;
alignment or range failures retain individual original instructions. A build-time
check avoids the bulk path when store alignments conflict. There is no runtime
decoder, new platform binding or address-specific replacement. Native bounded
read of original 219898..2198D7 confirms MOVQ/MOVNTQ bytes against the supported
B5207C40... target; shader-copy-bytes.json retains the exact 64-byte evidence.

Render-target, texture-size and vertex-descriptor caches were tried together.
Their small stationary gain was not reliable across driving runs; all gpu.cpp
changes were removed. The accepted change is only the generic MMX store policy.

Final existing diagnostics pass: 52 CPU groups, 26026 integer comparisons,
3988 memory cases, 6744 floating cases, 109 control cases; 54 spatial cases and
155 original audio bindings; 2074 storage cases including graphics resources.
The graphics experiment also passed 273 hardware render cases with zero D3D11
warnings before it was removed. No tests or dependencies were added. All owned
game, diagnostic, compiler and linker workers exited.

Baseline executable SHA256:
2338DE23CECFDE2C5D25D50337D342EF647C74441AE56430FCE07E6DBDB9F4DC
Final canonical Release executable SHA256:
369BE09762834CECFBF97F96113C52474BEBAB5085C799136C5F10D326DCD5F5
Private reports, controller scripts, settings/save copies and binary snapshots:
build/checks/airport-performance-20261101. comparison.json, profile-comparison.json
and validation.json retain measurements, checks, personal-data hashes and the
zero-survivor audit. No release was published.

Continued 360 Hz goal - 2026-11-01
--------------------------------
The user authorized continued autonomous optimization while away. The goal is
ACTIVE and UNMET. Muted/offline single-player, no computer use, 360 Hz selected,
fullscreen/1x/widescreen, interpolation and V-sync off remain the conditions.
Accepted recordings are ten seconds, after setup; saves reset from private
copies. Hardware remains Ryzen 5 5600X / RTX 5060 Ti. No subagents were used.

Native sampling of the accepted copy-only executable collected 5194 samples
with zero failures. Local PDB lookups and bounded native disassembly identified
two repeated index loops: scalar index-range validation at RVA 0132AF04 and
packed-index expansion at 012A84E4..012A8505. The latter reloaded the vector's
data pointer for each store. Holding that pointer once permits compiler loop
optimization; validating the maximum index uses the existing standard-library
vectorized reduction. Bounds, draw order and index values remain unchanged.
No persistent graphics cache or new test was added.

The old LLVM profile also discarded substantial renderer counts after source
changes: prepare (355256142), draw (268710740), stream_uniforms (677318003),
among others. Retraining removed every hot-renderer mismatch. A single unused
tool-only shader function still had a zero-count mismatch. Training binaries
were never used as FPS acceptance results.

Two fresh profile sets were compared. The first used normal F9 race recordings.
The second used mostly ordinary play, avoiding the detailed recorder's active
branches. Its retained instrumented executable predates benchmark counter reset,
so F9 pulses at script 38.00..38.08 s reset counters, then disabled recording
before the frame benchmark at 40..50 s. Pulse captures prove 71.934/74.871 ms
duration and nine frame records each. Exit at 51 s is within 30 s of reset.
The new start_benchmark implementation also resets compiler counters in a
training build; BUILDING.txt now recommends that lighter workflow. The next
instrumented build should exercise that new trigger directly.

Pooled frame-only measurements (two recordings per row except copy baseline):
                                   FPS       median ms   p99 ms   maximum ms
Copy-only recent baseline         277.975907   3.4534     4.9486    7.0977
Index loops / original profile    286.588386   3.3606     4.6829    5.8039
Fresh F9 profile, stationary      302.597476   3.1836     4.4116    5.4963
Fresh F9 profile, driving         297.846566   3.2057     4.6051    6.3938
Mostly normal profile, stationary 305.191318   3.1561     4.3513    5.0657
Mostly normal profile, driving    300.535029   3.1874     4.5003    5.4038
All selected runs have no dropped frames, setting changes or >20 ms intervals.
Traffic varies between launches. The normal-profile improvement over F9 training
is small; its recording branch behavior also better matches ordinary play.
The sustained 360 FPS / 2.778 ms goal remains unmet. No broader FPS claim is made.

A separate final F9 diagnostic has 2796 source records. Per-record main-thread
wall costs are guest code 1.660 ms, GPU commands 1.100, buffer uploads 0.326,
draw submission 0.229 and resource preparation 0.119. Measured GPU median is
1.403744 ms, p99 1.623136. Main-thread utilization is 95.985% of one core.
Guest indexed submission 219750 costs 177.397 ns/call (3283926 calls);
21F9C0 costs 149.622 ns/call. These recorded costs are not frame-only FPS.
Recorder limit counters are zero. Peak working set is 232583168 bytes and
private committed memory 206815232 bytes during recording; loading peaks are
not measured. The remaining constraint is CPU execution/submission.

Original-byte classification correction: 219750 emits BEGIN_END (17FC) and
repeated packed ARRAY_ELEMENT16 (1800) commands. It is an indexed-draw packet
writer. Earlier references to this address as shader/constant copying were
incorrect labels. Bounded original bytes are retained in original-index-loop.json
and the earlier 192-instruction SDK analysis, both tied to the B5207C40 target.

Existing final checks pass: 52 CPU groups / 26026 integer / 3988 memory /
6744 floating / 109 control cases; 54 spatial and 155 audio bindings; 2074
storage cases including graphics resources; 273 hardware rendering cases with
zero D3D11 warnings. All 292 PNGs, including nested capture images, match their
existing references byte-for-byte, with no missing references. Personal settings,
six save/storage files and the original executable hash are unchanged. All owned
workers exited. No tests, dependencies or release assets were added.

Canonical build: profiling counters OFF, AVX2 OFF,
build/checks/airport-360-followup-20261101/current-light-airport.profdata.
b2.exe SHA256: 67D427AF0266D5D7DD89C9C8D0967FDE62B5E63629C9BDEA566FDCE4703D9295.
Comparison binaries, original bytes, profiles, sampling results, scripts,
comparison.json, final-profile-summary.json and validation.json are private under
build/checks/airport-360-followup-20261101. Nothing was staged or published.

Next evidence-driven candidates: inspect the indexed writer's remaining MMX
helper overhead and non-temporal prefetches, plus buffer-upload reuse. The old
NOP/pointer-grouping trial predates the retained cached-store policy, which now
removes the streaming-store cost that previously obscured helper overhead.
Any new trial must retain alignment/range failure behavior, original MMX state,
and the existing checked instruction path. A direct SDK draw binding requires
separate verification of ABI, device/push-buffer side effects, buffer ownership
and CPU-versus-platform coverage; do not bypass those requirements for FPS.

2026-11-01 follow-up: bounded MMX/upload experiments
-------------------------------------------------
Private evidence: build/checks/airport-mmx-followup-20261101. All game
recordings remain ten seconds, muted, offline, 360 Hz selected, native 1x,
widescreen, interpolation/V-sync/enhancements off, on Ryzen 5 5600X / RTX 5060 Ti.
Computer use and subagents were not used.

MMX helper merging across two original one-byte NOPs plus cached native range
pointers measured 303.208949 FPS stationary, 296.896052 driving; its adjacent
accepted baseline measured 303.946137 stationary. This trial also invalidated
462195812 old profile counts for guest 219750. Pointer caching alone retained
the profile match but measured 302.474602 stationary / 300.310037 driving.
Neither established an improvement. Both were removed; the previously accepted
cached MOVQ stores, checks and fallback remain. CPU/spatial diagnostics passed.

A 64-slot within-batch vertex-upload reuse cache passed all 273 hardware
rendering checks with zero D3D warnings but measured 301.745773 stationary /
300.162550 driving, versus 305.590384 adjacent baseline stationary. Its detailed
recording spent 914.9618 ms uploading across 2783 source records (0.329 ms each),
with 322994 buffer maps and 20923072700 uploaded bytes. No useful reduction was
shown, so the experiment was removed.

A native helper linked the existing vertex translator and examined only the
18 static shader records. Fifteen game shaders read constants from sparse rows:
most span 58..190 (133 rows), but use only 7..18 rows. Rows 58/59, 96..111 and
189/190 account for the sparse references. Three SDK screen shaders use only
rows 0/1. This finding is distinct from the earlier contiguous-range packing;
packing gaps is being evaluated with original CPU snapshots preserved and
relative-address/launch shaders kept on their original full layout.

2026-11-01 accepted sparse shader constant uploads
------------------------------------------------
Only rows actually referenced by a static, non-relative draw program are packed
into its GPU constant buffer. The native translator remaps HLSL row references
at build time and emits a three-word row mask in the static shader metadata.
The renderer gathers those rows and compares only them before reusing an upload.
Raw CPU constant ranges remain intact. Fixed transforms, relative addressing and
transform launches retain their previous layouts. Opt-in captures include the
packed row order. No runtime shader compilation or token decoding was introduced.

The existing stream-upload-order diagnostic was extended, without adding another
case, to combine separated rows 0 and 96 and verify both direct and queued draws.
This specifically checks the changed constant-buffer layout and its reuse rules.

Before retraining, a stationary recording measured 309.941988 FPS versus its
adjacent baseline 300.551090; driving measured 304.299871. Its detailed recording
used 209279 buffer maps across 2830 source records, versus 322994 across 2783 in
the earlier contiguous-layout diagnostic (approximately 36% fewer maps per frame).
Uploaded bytes also fell, from 20923072700/2783 to 18872481664/2830 per recording.

A new instrumented build exercised benchmark counter reset directly. Two normal
benchmark training runs were merged into sparse-airport.profdata, then profiling
counters were disabled for acceptance. No hot renderer profile mismatch remains;
one unused tool-only shader_binary function discarded zero counts. The generated
shader bank is identical before/after retraining, SHA256:
2D8EE230F48B100CFCBC0C23839217377F68A01B3B8DF0C182FAFDE2248467E4.

Counter-free pooled measurements, including every fresh-profile acceptance run:
                                  FPS       median ms   p99 ms   maximum ms
Adjacent baseline stationary     303.545388   3.1721     4.3350    5.1676
Packed/fresh profile stationary  306.289129   3.1501     4.3319    5.6279
Adjacent baseline driving        299.187704   3.1796     4.8132    9.3745
Packed/fresh profile driving     302.784783   3.1519     4.4510    5.8240
Stationary uses two baseline recordings and four candidate recordings (12245
candidate intervals). Driving uses one adjacent baseline and two candidate
recordings (6052 candidate intervals). Each recording is ten seconds. Candidate
stationary runs range from 295.481910 to 310.976685 FPS. The initial slow run is
retained; no unverified cause is assigned. This is a modest, variable gain and
does not establish sustained 360 FPS. All runs have zero dropped frames and no
setting changes. Hardware/settings/muted/offline conditions remain as above.

The separate final F9 recording has 2755 source records: guest CPU code 1.717 ms,
GPU command handling 1.089 ms, buffer uploads 0.310 ms, draw submission 0.245 ms,
resource preparation 0.123 ms per source record. GPU median 1.375744 ms, p99
1.584288 ms; main-thread use 95.956% of one core. The CPU remains the limit.
Final counters: 203538 maps, 18366962908 uploaded bytes, 3344846 draws; no runtime
shader compiles, cache misses or texture uploads. Recording peak working set
230461440 bytes, private memory 203440128 bytes. Loading peaks were not measured.
Recorder limits and >20 ms frame counts are zero. F9 timings are not FPS results.

Final native checks pass: 52 CPU groups / 26026 integer / 3988 memory / 6744
floating / 109 control cases; 54 spatial and 155 audio bindings; 2074 storage
cases including graphics; 273 hardware rendering cases, zero warnings. All 292
render PNGs match the existing reference byte-for-byte. The software renderer
also passed 273 cases with zero warnings before retraining. The final audit
confirmed personal settings, six save/storage files and the supported XBE hash
unchanged, with no surviving owned workers. Its first process audit encountered
a null StartTime on an inaccessible/exited process; the auditor now guards that
value, and the audit alone was rerun using the completed diagnostic results.

Canonical build: profile generation OFF, AVX2 OFF, profile use
build/checks/airport-mmx-followup-20261101/sparse-airport.profdata.
b2.exe SHA256: 63027C0F46FD6EDAA9EECED174242BBB6670BCD88D812E07A8A6662E5F4B50EC.
Private evidence includes sparse-comparison.json, sparse-validation.json,
sparse-fresh-profile/result.json, retained comparison executables and profiles.
Nothing was staged, committed or published. Computer use and subagents were not
used. The user returned and requested stopping for now; no further benchmarks
were started.

Remaining evidence-driven work: CPU execution and GPU command processing still
dominate. Inspect sparse CPU-side constant copies and the sampled five-word
texture-map comparisons before making further changes. Preserve CPU consumers,
resource invalidation and launch/relative-address behavior; do not infer a direct
SDK binding from a packet writer without verifying its ABI and side effects.
