d3d12: memory nobody touches leaves the working set, a little at a time (LEONIDA_ROLL_TRIM, off by default) #3332
Open
Krashgamer wants to merge 3 commits from
upstream-pr/3332 into main
pull from: upstream-pr/3332
merge into: ProjectLeonida:main
ProjectLeonida:main
ProjectLeonida:claude/loop-total
ProjectLeonida:claude/pops-collision-seed
ProjectLeonida:claude/dstorage-hold-page-reads
ProjectLeonida:claude/host-image-copy-switch
ProjectLeonida:feat/gdk-lifecycle-window-hook
ProjectLeonida:claude/d16s8-uav-nvidia-fallback
ProjectLeonida:feat/mfplat-offline-shim
ProjectLeonida:claude/gameinput-slow-reader
ProjectLeonida:fix/rt-null-barrier-clear
ProjectLeonida:claude/depth-resolve-sample-positions
ProjectLeonida:integration/palmetto-parity
ProjectLeonida:claude/valu-literal-sext
ProjectLeonida:claude/slot74-pool-handle
ProjectLeonida:claude/rgb9e5-uint-alias-view
ProjectLeonida:claude/fssm-root-layout-tables
ProjectLeonida:feat/gdk-speech-display-lifecycle
ProjectLeonida:asset-audio-skip-current
ProjectLeonida:qemmhd/old-9940-rectangle-quad-lists
ProjectLeonida:feat/ws2-offline-shim
ProjectLeonida:qemmhd/rt-d16-unorm-uav
ProjectLeonida:feat/xs-device-stops-7-9
ProjectLeonida:qemmhd/rt-depth-same-base-shapes
ProjectLeonida:qemmhd/rt-lazy-attachment-variant
ProjectLeonida:feat/acphal-xma2-decoder
ProjectLeonida:asset-audio-skip
ProjectLeonida:codex/coord-claim-check-20261124-7e48
ProjectLeonida:feat/xs-frame-pacing-presentx
ProjectLeonida:feat/xs-device-vm-options
ProjectLeonida:old-pr/9844
ProjectLeonida:old-pr/9978
ProjectLeonida:old-pr/9815
ProjectLeonida:old-pr/10057
ProjectLeonida:old-pr/9874
ProjectLeonida:old-pr/9965
ProjectLeonida:old-pr/9863
ProjectLeonida:old-pr/10068
ProjectLeonida:old-pr/10066
ProjectLeonida:old-pr/10067
ProjectLeonida:old-pr/10007
ProjectLeonida:old-pr/10061
ProjectLeonida:old-pr/10065
ProjectLeonida:old-pr/10059
ProjectLeonida:old-pr/10063
ProjectLeonida:old-pr/10055
ProjectLeonida:old-pr/10062
ProjectLeonida:old-pr/10042
ProjectLeonida:old-pr/10041
ProjectLeonida:old-pr/10049
ProjectLeonida:old-pr/10047
ProjectLeonida:old-pr/10046
ProjectLeonida:old-pr/10045
ProjectLeonida:old-pr/10056
ProjectLeonida:old-pr/10043
ProjectLeonida:old-pr/10036
ProjectLeonida:old-pr/10034
ProjectLeonida:old-pr/9984
ProjectLeonida:old-pr/10052
ProjectLeonida:old-pr/10038
ProjectLeonida:old-pr/10033
ProjectLeonida:old-pr/10028
ProjectLeonida:old-pr/10050
ProjectLeonida:old-pr/9891
ProjectLeonida:old-pr/9889
ProjectLeonida:old-pr/10051
ProjectLeonida:old-pr/10019
ProjectLeonida:old-pr/10027
ProjectLeonida:old-pr/10029
ProjectLeonida:old-pr/10031
ProjectLeonida:old-pr/10026
ProjectLeonida:old-pr/9941
ProjectLeonida:old-pr/10030
ProjectLeonida:old-pr/10040
ProjectLeonida:old-pr/9990
ProjectLeonida:old-pr/10021
ProjectLeonida:old-pr/9962
ProjectLeonida:old-pr/10022
ProjectLeonida:old-pr/10020
ProjectLeonida:old-pr/10015
ProjectLeonida:old-pr/10025
ProjectLeonida:old-pr/9886
ProjectLeonida:old-pr/10048
ProjectLeonida:old-pr/10014
ProjectLeonida:old-pr/10011
ProjectLeonida:old-pr/9861
ProjectLeonida:old-pr/10010
ProjectLeonida:old-pr/10008
ProjectLeonida:old-pr/9860
ProjectLeonida:old-pr/10006
ProjectLeonida:old-pr/9920
ProjectLeonida:old-pr/9995
ProjectLeonida:old-pr/10000
ProjectLeonida:old-pr/10016
ProjectLeonida:old-pr/10004
ProjectLeonida:old-pr/10023
ProjectLeonida:old-pr/9982
ProjectLeonida:old-pr/9981
ProjectLeonida:old-pr/9983
ProjectLeonida:old-pr/9970
ProjectLeonida:old-pr/9969
ProjectLeonida:old-pr/9968
ProjectLeonida:old-pr/9971
ProjectLeonida:old-pr/9972
ProjectLeonida:old-pr/9942
ProjectLeonida:old-pr/9963
ProjectLeonida:old-pr/9960
ProjectLeonida:old-pr/9964
ProjectLeonida:old-pr/9985
ProjectLeonida:old-pr/9973
ProjectLeonida:old-pr/9862
ProjectLeonida:old-pr/9953
ProjectLeonida:old-pr/10017
ProjectLeonida:old-pr/9952
ProjectLeonida:old-pr/9955
ProjectLeonida:old-pr/9946
ProjectLeonida:old-pr/9954
ProjectLeonida:old-pr/9938
ProjectLeonida:old-pr/9956
ProjectLeonida:old-pr/9856
ProjectLeonida:old-pr/9947
ProjectLeonida:old-pr/9924
ProjectLeonida:old-pr/9961
ProjectLeonida:old-pr/9927
ProjectLeonida:old-pr/9979
ProjectLeonida:old-pr/10032
ProjectLeonida:old-pr/9926
ProjectLeonida:old-pr/5237
ProjectLeonida:old-pr/9951
ProjectLeonida:old-pr/9931
ProjectLeonida:old-pr/9902
ProjectLeonida:old-pr/9921
ProjectLeonida:old-pr/9994
ProjectLeonida:old-pr/9775
ProjectLeonida:old-pr/9768
ProjectLeonida:old-pr/9905
ProjectLeonida:old-pr/9936
ProjectLeonida:old-pr/9901
ProjectLeonida:old-pr/9904
ProjectLeonida:old-pr/9906
ProjectLeonida:old-pr/9988
ProjectLeonida:old-pr/9908
ProjectLeonida:old-pr/9909
ProjectLeonida:old-pr/9911
ProjectLeonida:old-pr/9912
ProjectLeonida:old-pr/9913
ProjectLeonida:old-pr/9887
ProjectLeonida:old-pr/9916
ProjectLeonida:old-pr/9919
ProjectLeonida:old-pr/9925
ProjectLeonida:old-pr/9933
ProjectLeonida:old-pr/9935
ProjectLeonida:old-pr/9918
ProjectLeonida:old-pr/9879
ProjectLeonida:old-pr/9880
ProjectLeonida:old-pr/9881
ProjectLeonida:old-pr/9996
ProjectLeonida:old-pr/9876
ProjectLeonida:old-pr/9892
ProjectLeonida:old-pr/9899
ProjectLeonida:old-pr/9915
ProjectLeonida:old-pr/9914
ProjectLeonida:old-pr/9872
ProjectLeonida:old-pr/9869
ProjectLeonida:old-pr/9866
ProjectLeonida:old-pr/9819
ProjectLeonida:old-pr/10012
ProjectLeonida:old-pr/9857
ProjectLeonida:old-pr/9893
ProjectLeonida:old-pr/9897
ProjectLeonida:old-pr/9928
ProjectLeonida:old-pr/9868
ProjectLeonida:old-pr/9917
ProjectLeonida:old-pr/9940
ProjectLeonida:old-pr/9873
ProjectLeonida:old-pr/9816
ProjectLeonida:old-pr/10009
ProjectLeonida:old-pr/9900
ProjectLeonida:old-pr/9966
ProjectLeonida:old-pr/9859
ProjectLeonida:old-pr/9843
ProjectLeonida:old-pr/9991
ProjectLeonida:old-pr/10058
ProjectLeonida:old-pr/9883
ProjectLeonida:old-pr/9838
ProjectLeonida:old-pr/9835
ProjectLeonida:old-pr/9959
ProjectLeonida:old-pr/9895
ProjectLeonida:old-pr/9837
ProjectLeonida:old-pr/9858
ProjectLeonida:old-pr/9865
ProjectLeonida:old-pr/9864
ProjectLeonida:old-pr/9840
ProjectLeonida:old-pr/9820
ProjectLeonida:old-pr/4669
ProjectLeonida:old-pr/9848
ProjectLeonida:old-pr/9850
ProjectLeonida:old-pr/9810
ProjectLeonida:old-pr/9799
ProjectLeonida:old-pr/9853
ProjectLeonida:old-pr/9875
ProjectLeonida:old-pr/9831
ProjectLeonida:old-pr/9796
ProjectLeonida:old-pr/9801
ProjectLeonida:old-pr/9813
ProjectLeonida:old-pr/9794
ProjectLeonida:old-pr/7417
ProjectLeonida:old-pr/9781
ProjectLeonida:old-pr/9806
ProjectLeonida:old-pr/9958
ProjectLeonida:old-pr/9809
ProjectLeonida:old-pr/9791
ProjectLeonida:old-pr/9792
ProjectLeonida:old-pr/10053
ProjectLeonida:old-pr/9784
ProjectLeonida:old-pr/9789
ProjectLeonida:old-pr/9849
ProjectLeonida:old-pr/9846
ProjectLeonida:old-pr/9773
ProjectLeonida:old-pr/9785
ProjectLeonida:old-pr/9803
ProjectLeonida:old-pr/9826
ProjectLeonida:old-pr/9839
ProjectLeonida:old-pr/9922
ProjectLeonida:old-pr/9948
ProjectLeonida:old-pr/7189
ProjectLeonida:old-pr/9957
ProjectLeonida:old-pr/9823
ProjectLeonida:old-pr/9807
ProjectLeonida:old-pr/9851
ProjectLeonida:old-pr/9774
ProjectLeonida:old-pr/9830
ProjectLeonida:old-pr/9836
ProjectLeonida:old-pr/9822
ProjectLeonida:old-pr/9783
ProjectLeonida:old-pr/9833
ProjectLeonida:old-pr/9890
ProjectLeonida:old-pr/9770
ProjectLeonida:old-pr/9769
ProjectLeonida:old-pr/9772
ProjectLeonida:old-pr/9787
ProjectLeonida:old-pr/9852
ProjectLeonida:old-pr/9834
ProjectLeonida:old-pr/9845
ProjectLeonida:old-pr/9871
ProjectLeonida:old-pr/9771
ProjectLeonida:old-pr/9776
ProjectLeonida:old-pr/10005
ProjectLeonida:old-pr/9949
ProjectLeonida:old-pr/9923
ProjectLeonida:old-pr/9805
ProjectLeonida:old-pr/9829
ProjectLeonida:old-pr/9790
ProjectLeonida:old-pr/9827
ProjectLeonida:old-pr/9929
ProjectLeonida:old-pr/9855
ProjectLeonida:old-pr/9934
ProjectLeonida:old-pr/9907
ProjectLeonida:old-pr/9910
ProjectLeonida:old-pr/9779
ProjectLeonida:old-pr/9780
ProjectLeonida:old-pr/9885
ProjectLeonida:old-pr/9882
ProjectLeonida:old-pr/9877
ProjectLeonida:old-pr/9998
ProjectLeonida:old-pr/4251
ProjectLeonida:old-pr/9987
ProjectLeonida:old-pr/9989
ProjectLeonida:old-pr/9950
ProjectLeonida:old-pr/9777
ProjectLeonida:old-pr/10044
ProjectLeonida:old-pr/9884
ProjectLeonida:old-pr/2906
ProjectLeonida:old-pr/5076
ProjectLeonida:old-pr/9937
ProjectLeonida:old-pr/9986
ProjectLeonida:old-pr/3014
ProjectLeonida:old-pr/9943
ProjectLeonida:old-pr/9939
ProjectLeonida:old-pr/4682
ProjectLeonida:old-pr/4765
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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.
Reference
ProjectLeonida/mandy!3332
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3332"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by Krashgamer on 2026-12-03T13:39:09Z.
Claimed in the coordination issue as: D3D12-ROLLING-TRIM (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7371584107)
Depends on: none. Near D3D12-WORKING-SET-TRIM (Herlix777, #3198): that one trims when memory is short, this one runs all the time and sorts by use. I asked there; no answer yet.
What and why
Windows takes pages nobody touches only when memory is short, and then at once. The game's working set is about 27 GB on a PC with 32 GB of RAM, so the PC has about 0.8 GB left, and the game pages in gigabytes.
LEONIDA_ROLL_TRIM=<seconds>(off by default) goes through the process's committed memory once in that time, a little at a time, and lets pages that were not touched since the turn before leave the working set (VirtualUnlock). What is wanted again comes back by a soft fault while it still lies in memory.Tested
maind9b618f10alone, RTX 3080 10 GB, 32 GB of RAM, Series X, 2560x1440, game gate 300 s in the world, the same route in every run. WithLEONIDA_ROLL_TRIM=120/ without; memory: second half of the run; paging: from a minute in to the end (231 s).-HardwareRT-HardwareRT-HardwareRT, the form in this pull request-HardwareRT19.33 against 19.87 frames a second in the mean of three pairs (-2.7 %; single pairs -0.8 to -4.9 %). No ray tracing, one pair: no difference. The number in my claim (-0.5 %) was of an older form.residency::prefetch_limit). The once-a-second looks that found the PC short, with the trim / without, whole run:-HardwareRT33 of 305 / 220 of 297, 34 of 304 / 224 of 300, 37 of 308 / 233 of 305; no ray tracing 36 of 295 / 226 of 294. No more textures were alive at the end because of it on this route.-HardwareRTrow are of this one.Unit tests (12 in
rolltrim.rs): write-watched memory still tells its writes after the pages left; locked pages stay locked between unlocked ones; steps are cut at the same places when a part begins elsewhere; a step never let go says nothing about use; late, it does not catch up. All unit tests ofleonida-gpuon this head: 808 passed, 0 failed, 59 ignored (with the 12 ofrolltrim.rsagain after the last review fix). (The game runs above are of the commit before the two review fixes after it, which only change what a refused call or a seen lock leaves behind.)Two reviews by separate agents; what they found is fixed (steps moved with the region starts, only the first page of 64 KiB looked at, a burst after a stall, a step just loaded counted as in use, silent failure to start, locked memory).
Not measured: other PCs, driving into new areas, long sessions of this form, memory used by other programs meanwhile, AWE and large pages, memory the OS maps for overlapped reads. One PC, one route. Off by default for these reasons.
GPUs tested: NVIDIA GeForce RTX 3080 10 GB, driver 610.88, Windows 11 Pro
AI-assisted: yes (Claude Code, Claude Opus 5.5)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (No translator rule.)🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T13:52:24Z.
Keep rejected trims eligible on the next turn. In
one_turnatd7c311df, the code recordsLeft::WentbeforeVirtualUnlockreturns. If the call returns an error other thanERROR_NOT_LOCKED, only the counter changes. On the next pass, resident pages can be mistaken for pages that returned after a trim, putting the step intoRests(4). State update and error branchI exercised the exact
one_turnandjudgefunctions with a synthetic Win32 boundary. With a resident step and an injectedERROR_INVALID_ADDRESS, the published code makes one unlock attempt across two turns and then rests the step. Removing the state entry in the failure branch makes the second turn retry. The control still rests for four turns afterERROR_NOT_LOCKEDand a subsequent return of the pages. VirtualUnlock result semanticsThis checks the state transition with controlled API results. AI-assisted (Codex).
Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-12-03T14:08:51Z.
Ran natively on Windows 11, head
d7c311df3merged into currentmain(b053a1813, clean merge).I drove the real
parts,steps,there,judgeandone_turnfrom throwaway tests in the test process. The turns ran back to back withseconds = 0, so no pacing. Everything below is measured unless marked read.It undoes #3198 when both are on. #3198 asks Windows for a hard minimum working set. I set one the same way (
SetProcessWorkingSetSizeEx, 200 MB,QUOTA_LIMITS_HARDWS_MIN_ENABLE), read it back (flags0x9, before and after the turn), touched a 256 MB block and ran one turn. The working set went from 273,588 KB to 11,116 KB and the block had 0 of 65,536 pages resident. SoVirtualUnlocktakes pages out below a hard minimum. Both switches are opt-in, but someone on a 16 GB PC could plausibly turn on both. Maybestart()should stay off whenLEONIDA_MIN_WORKING_SET_MBis set, or the docs should say they cancel out.Clippy.
cargo clippy -p leonida-gpu --all-targets -- -D warningsfails on one line, in this PR's own testa_part_is_one_whatever_its_protection(rolltrim.rs:401,clippy::int_plus_oneonat as usize <= base + len - 1). With that written as(at as usize) < base + lenthe crate is clean. CI runs clippy as a report only, so it doesn't block.Locked memory. The locks themselves always held. Whether a step counts as locked depends on which page of each 64 KiB the turn samples, though. And a skip writes
Left::Empty, so the step loses its in-use history. 1 MB block, three single pages locked (page 1 of each of the first three 64 KiB), block read before every turn:WentEmptyWentRests(4)down toRests(2)So a step in use was let go twice in three turns. A fully locked 1 MB block was skipped on all 6 turns and stayed 256 of 256 locked. Minor, but "steps with locked memory are left alone" only holds when the sample lands on a locked page.
About merzleckeier's point. I couldn't make the non-
ERROR_NOT_LOCKEDbranch fire with real memory. Every range I tried returned 158.VirtualUnlockoverKUSER_SHARED_DATA(0x7FFE0000)A walk over every step of the test process (40 steps) had 0 failures. So freed or decommitted memory is counted as "let go", which is harmless. The last row is the flip side. That page is committed private read-only, so
partsincludes it, and 158 comes back although nothing left. The next turn sees it resident and rests it, the same pattern as the review comment. It's one page, so it doesn't matter much.What the walk includes (one turn, VirtualQuery and QueryWorkingSetEx before and after)
partsAfter the turn the other thread grew its stack by about 512 KiB through the guard page without trouble.
Race. For 5 s one thread ran turns (2,189 of them) while another allocated 8 MB, touched it, set a guard page, made 1 MB no-access, decommitted 1 MB and released it (4,675 loops). No panic, no access violation, and none of the 4,675 guard pages was found stripped. This says nothing about what the turn recorded for those steps.
Write watch. 64 write-watched pages, two written after a reset, one turn: 0 of 64 resident,
GetWriteWatchgave pages 3 and 50. After a second turn and one more write it gave page 9. That matches the PR's claim.Effect (256 MB committed and touched, test process of 107 steps, no pacing)
Commit doesn't change, as the PR says. Memory read on every turn is still let go every fifth turn, and coming back costs about 47 ms per 256 MB here, on one thread. The first touch of the same block cost 18.9 ms. That's by design ("the last turn of its rest lets it go"). In the game those soft faults land on whichever thread touches the memory next.
Switch (
turn()called directly)LEONIDA_ROLL_TRIM0,-1,-0,abc,5s,1.5, empty5,+5, tab 7 newline1844674407370955161518446744073709551616Read, not run: every off value except
0logs the "not a number" warning. A huge value isn't clamped.pause_ussaturates, so nothing panics, but the first bundle would sleep for centuries and the turn never ends. A cap would cost nothing.Tests.
cargo test -p leonida-gpu --lib --locked rolltrim10 passed, 0 failed. Wholeleonida-gpu --lib726 passed, 0 failed, 59 ignored.cargo fmt --checkdiffers across most of the tree onmainalready.rolltrim.rsitself is clean. The newmod rolltrim;is out of sorted order in lib.rs, inside a block thatmainalready has out of order.Conflicts. No code conflicts. The PR adds doc-only conflicts with #3321, #3311, #3309, #3035 (
findings.md, both appending at the end) and #3296, #2789 (neighbouring rows inswitches.md). It also adds afindings.mdconflict to #3198 and #3140, which already conflict withmaininswitches.md. Small note on the body: #3198 is pranjalprateek6's D3D12-MIN-WORKING-SET (the hard minimum above). Herlix777's D3D12-WORKING-SET-TRIM claim in #2570 has no PR that I could find.Not checked: the game, real pacing over seconds or minutes, large pages and AWE, file-backed views other than pagefile-backed ones, memory pressure from other programs, other Windows builds.
GPUs tested: one NVIDIA desktop card.
AI-assisted: yes (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T14:14:35Z.
The sparse-lock result in the Windows report has a small state-transition fix. I tested
d7c311dfonb053a1813(treee7ef9a18), keeping the exacttheresampler,judge, andone_turnand stubbing the Windows queries for one always-resident synthetic step.Wentand triggers another unlock on turn 2. A lock first sampled on turn 2 erasesRests(4)and triggers another unlock on turn 3.(false, before.unwrap_or(Left::Empty))from the sampled-lock branch preserves the state, just as a failed query already does. In both cases the next unlock moves to turn 6. The unlocked control still trims on turns 0 and 5, a lock detected on the first observation still starts empty, and a lock detected on every turn never issues an unlock.The two targeted regressions failed on the published code, and all three tests passed with that one-line change. The change addresses repeated trimming after a detected lock. The Windows report covers the separate limits of lock sampling and the interaction with #3198. AI-assisted (Codex).
Imported from ubiquitarianism/leonida. Originally posted by Krashgamer on 2026-12-03T14:15:17Z.
@merzleckeier thank you, that was a real bug and it is fixed in
fe4aa92b3. What the step is left as is now decided after the call returned: let go as judged, any other error no state (judged anew at the next turn, so it is tried again), locked and taken away by the call rests. The new testwhat_was_not_let_go_is_tried_againchecks your case. All unit tests: 808 passed, 0 failed.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T14:20:20Z.
Confirmed the refused-trim fix on
fe4aa92bmerged onto new main9039f6a3(tree4156a25a). With the same synthetic Win32 boundary, the injected rejection leaves no state and the next turn retries. AnERROR_NOT_LOCKEDtrim followed by resident pages still entersRests(4). Both tests passed.The separate sampled-lock case still resets the history: the two tests for a lock sampled after
Wentor duringRests(4)still reproduce the early trim. Retainingbeforein that branch passes both cases and all controls on this head. AI-assisted (Codex).Imported from ubiquitarianism/leonida. Originally posted by Krashgamer on 2026-12-03T14:26:33Z.
@merzleckeier right again, fixed in
35f52131fthe way you describe: a step with a locked page, like one of which nothing is told, keeps what is known of it (decide). The new testa_lock_seen_for_a_turn_does_not_forget_the_stephas both of your cases and the controls. The 12 tests inrolltrim.rspass.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T16:45:37Z.
In-game gate run: PASS, no device lost (head
35f52131f, mergec95e85da9,LEONIDA_ROLL_TRIM=120, no FG, 420 s).Run and measured by Enlighted's agent on an RTX 3090 24 GB (NVIDIA 621.40, 64 GB RAM), posted here by MoonEyes' agent (AI-assisted, Claude Opus 5.5). One run per side, PR merged locally (--no-ff) on main
acb0657e2and compared with that main alone; DLSS quality 1706x960 → 2560x1440, Series X profile,LEONIDA_WINDOWS_BAR_MB=8192.Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T17:10:53Z.
Correction to the run report above, from Enlighted's agent: the +1.3 fps came from the part of the run where Windows had turned the screen off (the game does not keep the display awake, and a screen that is off frees 1-3 ms of CPU per frame on that machine). With the screen on, this PR is level with main: 33.81 fps against 33.87. The working set result (median 7.3 GB against 35.3 GB) holds.
Relayed by MoonEyes' agent (AI-assisted, Claude Opus 5.5).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.