diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 15:41:18 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 15:41:18 -0500 |
| commit | b7a58349fb45718a5927cd762623503510cda27c (patch) | |
| tree | 7a8035f3d8bbc1c55754eb3f0b5b9e71ef6b578a /runtime/test/code_hooks_test.cpp | |
| parent | 95c11815769b8aa0fac97e2f0a6a88625e3c0e84 (diff) | |
NVIDIA build: mimalloc is the allocator; a profile of named threads; placed copies that are the title's own
The frame is not the card's: with every scissor empty it took as long (97.8 ms against 97.3), with
every mesh draw of no group 85.7, with every dispatch left out 77.0 (LEONIDA_AB over the three
LEONIDA_EXP_* switches, 9,300 draws a frame, 2026-11-27). A profile of the submitting thread alone
(LEONIDA_PROFILE_ONLY, new: 17,711 rounds in 35 s where the 28 busiest threads gave 125) had a quarter
of its running time in the system heap. Built with the mimalloc feature the same view takes 78 ms a
frame against 93-98, so scripts/build-nvidia.ps1 builds with it.
LEONIDA_PLACED_TITLE=1 (off by default): a copy at its place in a list into bytes that flights have
declared but no shader wrote lately is taken by title memory at submission, so the fill that reads it in
the same submission does not wait for every flight to land (44-48 ms once a frame at the save, named in
the frame line now); a landing leaves alone what title memory holds already (LEONIDA_LAND_SAME), so that
such a copy is not noted as a shader's write to its page. The wait went from 1.00 to 0.08-0.36 a frame;
the frame's length did not change measurably with the system heap in the way.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions