WIP: findings: DARNER_INDIRECT_REST measured on an RTX 5080 from the player's saves #481

Draft
TurboTheTurtle wants to merge 2 commits from TurboTheTurtle/Darner:indirect-rest-measured into Main
First-time contributor

Contributor role (optional)

  • Fluxer ID: 1578592194158137347.

What it changes

  • docs/findings.md, "What is next" item 4 (outdoor flicker) now carries the measurement, in a new section at the end ("Outdoor flicker and the list's budget", 2026-12-04), and the item points to it.
  • Measured on an RTX 5080 from the player's own saves, standing still in one spot, 120 s of world per arm, A B B A after one warm-up: DARNER_INDIRECT_REST unset gives 32.7 fps / 30.6 ms and 31.9 fps / 31.3 ms; =1 gives 32.7 fps / 30.5 ms and 31.1 fps / 32.1 ms. The means of the whole-window medians are 30.95 ms off against 31.30 ms on (+0.35 ms, +1.1 %); the final one-second frame times medians of the same runs 31.95 against 33.50 ms (+1.55 ms, +4.9 %). The spread inside an arm is 0.7 to 1.6 ms, so only the sign is steady: the default, off, is the better one.
  • The frame line's indirect count does not move with the switch (1,001 with 1,000 left out on purpose in three arms, 994 in the fourth), so those are the ray-tracing passes left out without the structure builder and not the budget's refusals, which the clamp counts in the budget buffer's own word (crates/darner-gpu/src/indirect.rs:193-200).
  • Read in code (crates/darner-gpu/src/indirect.rs:170, :187, :323): rest() is on only when the value is exactly 1, and with it on the record that does not fit sets the budget to its ceiling, so every record after it in that list runs empty too.

How it was tested

  • Tested revision: 9172220 on 3e3b7a6 on c8258f9 (rebased; the numbers were measured at fee5e65 on 1eacc27 on d91d8e4). One file, docs/findings.md, +20/-3, no code.
  • cargo xtask policy -> asset policy: 576 files ok (on c8258f9).
  • cargo clippy --workspace --all-targets --locked -- -D warnings -> no output, exit 0.
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings -> no output, exit 0.
  • cargo test --workspace --locked -> exit 0, every package ok: darner-gpu --lib 1823 passed, 0 failed, 81 ignored; darner-shader --lib 568 passed, 0 failed, 16 ignored. The two failures the earlier reports on this series listed are gone on the new main: the watch:: parallel-run flake of #389 (taken by #262 and its follow-up, which hold the watch journal's test lock) and emit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders at the DXIL validator (taken by #227, which writes SV_Depth in the early-depth fixture).
  • Game: scripts\play-nvidia.ps1 -Build release -Res 1440 -Dlss quality -NoMenu, -More with DARNER_ADAPTER=5080, DARNER_EXIT_AFTER_WORLD_S=120, DARNER_BENCH_CSV, DARNER_KEYS=3:Enter,10:Enter, DARNER_DATA_DIR at the existing data folder, frame generation off. draws/frame 5,681 to 6,209 in the world.
  • Changes a default: no. Docs only, so no A/B is required for the change itself; the numbers above are the measurement the row records.
  • Not tested: other cards, other resolutions, a walk instead of standing still, the ray-tracing builder on.

Checklist

  • I ran this change in the game, or say below why it can't be (docs, tests only). Docs only; the game ran for the numbers in the row.
  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md (one text file).
  • I recorded this PR's dependencies below.
    • Depends on: #475 (the same file, the section above this one; this branch starts at that commit).

Checked for overlap

  • I searched the open pull requests for the same problem and for the files this touches.
  • Related PRs: #470 and #459 also edit docs/findings.md (other switches). #475 is this file's other new section. None carries these numbers.
  • Replaces or overlaps: none found.

Made with AI assistance (DeepSeek).

## Contributor role (optional) - Fluxer ID: 1578592194158137347. ## What it changes - `docs/findings.md`, "What is next" item 4 (outdoor flicker) now carries the measurement, in a new section at the end ("Outdoor flicker and the list's budget", 2026-12-04), and the item points to it. - Measured on an RTX 5080 from the player's own saves, standing still in one spot, 120 s of world per arm, A B B A after one warm-up: `DARNER_INDIRECT_REST` unset gives 32.7 fps / 30.6 ms and 31.9 fps / 31.3 ms; `=1` gives 32.7 fps / 30.5 ms and 31.1 fps / 32.1 ms. The means of the whole-window medians are 30.95 ms off against 31.30 ms on (+0.35 ms, +1.1 %); the final one-second `frame times` medians of the same runs 31.95 against 33.50 ms (+1.55 ms, +4.9 %). The spread inside an arm is 0.7 to 1.6 ms, so only the sign is steady: the default, off, is the better one. - The frame line's indirect count does not move with the switch (1,001 with 1,000 left out on purpose in three arms, 994 in the fourth), so those are the ray-tracing passes left out without the structure builder and not the budget's refusals, which the clamp counts in the budget buffer's own word (`crates/darner-gpu/src/indirect.rs:193-200`). - Read in code (`crates/darner-gpu/src/indirect.rs:170`, `:187`, `:323`): `rest()` is on only when the value is exactly `1`, and with it on the record that does not fit sets the budget to its ceiling, so every record after it in that list runs empty too. ## How it was tested - Tested revision: `9172220` on `3e3b7a6` on `c8258f9` (rebased; the numbers were measured at `fee5e65` on `1eacc27` on `d91d8e4`). One file, `docs/findings.md`, +20/-3, no code. - `cargo xtask policy` -> `asset policy: 576 files ok` (on `c8258f9`). - `cargo clippy --workspace --all-targets --locked -- -D warnings` -> no output, exit 0. - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` -> no output, exit 0. - `cargo test --workspace --locked` -> exit 0, every package ok: `darner-gpu --lib` 1823 passed, 0 failed, 81 ignored; `darner-shader --lib` 568 passed, 0 failed, 16 ignored. The two failures the earlier reports on this series listed are gone on the new `main`: the `watch::` parallel-run flake of #389 (taken by #262 and its follow-up, which hold the watch journal's test lock) and `emit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders` at the DXIL validator (taken by #227, which writes SV_Depth in the early-depth fixture). - Game: `scripts\play-nvidia.ps1 -Build release -Res 1440 -Dlss quality -NoMenu`, `-More` with `DARNER_ADAPTER=5080`, `DARNER_EXIT_AFTER_WORLD_S=120`, `DARNER_BENCH_CSV`, `DARNER_KEYS=3:Enter,10:Enter`, `DARNER_DATA_DIR` at the existing `data` folder, frame generation off. `draws/frame` 5,681 to 6,209 in the world. - Changes a default: no. Docs only, so no A/B is required for the change itself; the numbers above are the measurement the row records. - Not tested: other cards, other resolutions, a walk instead of standing still, the ray-tracing builder on. ## Checklist - [x] I ran this change in the game, or say below why it can't be (docs, tests only). Docs only; the game ran for the numbers in the row. - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md` (one text file). - [x] I recorded this PR's dependencies below. - Depends on: #475 (the same file, the section above this one; this branch starts at that commit). ## Checked for overlap - [x] I searched the open pull requests for the same problem and for the files this touches. - Related PRs: #470 and #459 also edit `docs/findings.md` (other switches). #475 is this file's other new section. None carries these numbers. - Replaces or overlaps: none found. Made with AI assistance (DeepSeek).
TurboTheTurtle changed title from [pr-docs][performance][NVIDIA] findings: DARNER_INDIRECT_REST measured on an RTX 5080 from the player's saves to WIP: [pr-docs][performance][NVIDIA] findings: DARNER_INDIRECT_REST measured on an RTX 5080 from the player's saves 2026-12-05 02:02:07 +00:00
TurboTheTurtle force-pushed indirect-rest-measured from fee5e6576e to 917222016a 2026-12-05 19:42:24 +00:00 Compare
TrustNo1 changed title from WIP: [pr-docs][performance][NVIDIA] findings: DARNER_INDIRECT_REST measured on an RTX 5080 from the player's saves to WIP: findings: DARNER_INDIRECT_REST measured on an RTX 5080 from the player's saves 2026-12-06 03:28:12 +00:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'indirect-rest-measured:TurboTheTurtle-indirect-rest-measured'
git switch 'TurboTheTurtle-indirect-rest-measured'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'Main'
git merge --no-ff 'TurboTheTurtle-indirect-rest-measured'
git switch 'TurboTheTurtle-indirect-rest-measured'
git rebase 'Main'
git switch 'Main'
git merge --ff-only 'TurboTheTurtle-indirect-rest-measured'
git switch 'TurboTheTurtle-indirect-rest-measured'
git rebase 'Main'
git switch 'Main'
git merge --no-ff 'TurboTheTurtle-indirect-rest-measured'
git switch 'Main'
git merge --squash 'TurboTheTurtle-indirect-rest-measured'
git switch 'Main'
git merge --ff-only 'TurboTheTurtle-indirect-rest-measured'
git switch 'Main'
git merge 'TurboTheTurtle-indirect-rest-measured'
git push origin 'Main'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!481
No description provided.