Skip to content

Benchmark baseline: WARP world-frame preparing without PR #1 optimizations - #7

Closed
Naruto334692 wants to merge 21 commits into
mainfrom
benchmark/world-frame-preparing-uav-only-baseline
Closed

Naruto334692 wants to merge 21 commits into
mainfrom
benchmark/world-frame-preparing-uav-only-baseline

Conversation

@Naruto334692

@Naruto334692 Naruto334692 commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Purpose

This is the control run for PR #5. It uses the same test-only WARP benchmark source, same CI command and same published synthetic workload, but the code tree contains PR #3's bindless UAV correctness change without PR #1's unchanged-copy fast path and coalesced armed-page ranges.

The baseline lets us compare on the same Windows GitHub Actions runner family:

Run

$env:VICTORY_D3D12_WARP = "1"
cargo test --profile diag -p victory-gpu --features diagnostics -- --ignored --nocapture --test-threads 1 world_frame_preparing

The benchmark runs against made-up title memory through the real host preparation path on the WARP software adapter. It does not load GTA VI assets or run the game.

Important limits

This is a synthetic CPU-side comparison, not a hardware GPU or game FPS benchmark. Windows-hosted runners may have run-to-run variability; it is a closer controlled comparison than comparing to a third-party machine, but not a same-physical-machine A/B. Keep both PR #5 and this PR temporary; close after results are recorded. Do not merge either as a feature PR.

Windows CI result and recorded baseline

Workflow 45603378829 passed on 9f73f32cb139bd79a94f207aef75653e789f1c45:

  • Standard Clippy: success.
  • Clippy with all features: success.
  • cargo test --workspace --locked: success.
  • Synthetic WARP benchmark: success (1 passed, 0 failed).

Control result (baseline: PR #3 without PR #1)

Windows hosted runner, WARP software adapter, diag profile, diagnostics enabled; median of five measured frames after two warm-ups. Synthetic workload: 4,100 host copies, 1.62 GB of made-up title memory, 33 submissions per frame.

Metric Control: PR #3 only Combined: PR #1 + PR #3
CPU preparing 306.2 ms 79.3 ms
Copy-back 162.1 ms 146.4 ms
Refresh requests 22,494 22,494
Bytes requested by refreshes 20,961.7 MB 20,961.7 MB
Change checks 274,094 1,325
Bytes checked 102,722 MB 3,510.1 MB
Bytes changed/copied 159.1 MB 159.1 MB
Snapshot bytes 580.2 MB 580.2 MB

On this synthetic run, preparing fell by about 74% (306.2 to 79.3 ms); copy-back fell by about 9.7% (162.1 to 146.4 ms). The request volumes and changed bytes stayed the same, which is consistent with #1 skipping checks for unchanged copies rather than changing the copied data.

Limits: these are different Windows-hosted runner executions, not the same physical machine A/B. WARP is a software adapter and the workload is synthetic. Absolute times do not predict game FPS, hardware GPU time, or playability. The values are a repeatable control for this benchmark only.

This temporary control PR is now closed after recording the benchmark result. No feature code from this PR is intended for merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant