Repository navigation
docs: how to measure the D3D12 runtime's frame rates, and its LEONIDA_* variables (DOCS-D3D12-MEASURING) - #2708
Conversation
…_* variables d3d12/docs/findings.md was reachable from d3d12/README.md alone, so a night of runs repeated measurements it already holds. Index it, point AGENTS.md at it, say how to measure (a switch by turns inside one run), and list the variables the runtime names from its own sources: 415 of 669 were in no Markdown file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The launcher column saw one way of assigning of four, three kinds were wrong, names read by turns through a constant, a function or asked_for! were missing, and test modules with a brace in a raw string were cut short. measuring_fps.md now says how to give LEONIDA_AB to the launcher and what GPU_TIMING and PROFILE need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Checked by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16, main 4014af7, PR head bf85962. MEASURED:
Not covered: whether every switch's one-line description in AI-assisted: Claude Code |
|
Measured A/B guide caveat. I merged
The unrelated synthetic pipeline stayed enabled in every phase. Suggested wording for §2: “Direct on/off switches use the A/B phase as their value. Some switches use the phase to enable a configured value or list. Pass those values alongside CachyOS, PowerShell 7.4.21, Rust 1.97.1, synthetic inputs. AI-assisted with OpenAI Codex. |
tests/test_tool_stdout_encoding.py asks it of every tool. d3d12_run_fps.py came in with ProjectLeonida#2594 without it, which left that test red on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent stdout encoding check of
|
|
Merging at the owner's request (MoonEyes), Not settled by this merge: merzleckeier's caveat on section 2 of AI-assisted (Claude Code). |
merzleckeier measured on #2708 that LEONIDA_GUARD_HOT and LEONIDA_SKIP_TRY_A stay off on both sides when only LEONIDA_AB names them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claimed in the coordination issue as:
DOCS-D3D12-MEASURING(#2570 (comment))What and why
d3d12/docs/findings.mdholds most of what was measured of the D3D12 runtime's frame, but neitherdocs/README.mdnorAGENTS.mdnames it. I tested about ten switches one night by separate runs without having read it.docs/README.mdandAGENTS.md(three lines, "Before you guess, look") point to it.docs/measuring_fps.md: look first, turn a switch by turns inside one run (LEONIDA_AB, and how to give it to the launcher), what separate runs need, which log number means what, what to write before reporting a cause. Method only.tools/d3d12_switches.pymakesd3d12/docs/switches.mdfrom the sources: 630LEONIDA_*names with how each is read where that can be told, whetherLEONIDA_ABcan turn it, whether the launcher assigns it, whether the findings name it, and the sentence of the code's comment. It copies no value the launcher sets. No CI job keeps the page current; the page says so, and--checktells the difference.AGENTS.mdis changed, so this needs a maintainer's own look.Tested
python -I tests/test_d3d12_switches.py: 19 tests OK (synthetic sources, plus one on the repository). Run atf98f4973e; the commit after it changes one sentence of the generated page, where--checkgives 0.tests/test_docs_*.py,test_ci_registration.py,test_text_write_line_endings.py: OK (Windows 11, atf98f4973e).scripts/check_no_game_data.pyon the six files: OK.Not tested: the advice of
measuring_fps.mdonLEONIDA_AB,LEONIDA_GPU_TIMINGandLEONIDA_PROFILEis read in the code and the findings. Four mouse settings have no sentence in the list. Two observations in the page are marked "seen once".GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no rule)🤖 Generated with Claude Code