[pr-performance] Reuse ordered write-watch marks when bringing arena pages #34
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/linkoovosh--LinkoArts-build!34
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-34"
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?
@avt0m4t48 on GitHub · 2026-12-03 04:26 UTC · original
avt0m4t48:perf-arena-write-marks→main· +18 −8 · 1 files · 1 commits · draftChange
Reuse the ordered write-watch answer while visiting the requested 64 KiB pages. Each exact match advances the cursor. A partition search skips marks for pages left behind by the caller's existing guards. First takes still copy unconditionally, and an unavailable journal still triggers a refresh for previously taken pages. Empty journal answers and the existing copy and notification ordering retain their behavior.
Verification
Compared the original and patched page loops against an independent selection oracle for 61,440 synthetic queries per replay in two Linux compiler configurations. The query, ordered copy decisions, and held-page state matched. LinkoArts' optional deferral was also compared.
Pinned Linux medians for the extracted preparation loop over 15 paired rounds:
These timings cover the page map and selection logic with an in-memory write-watch reply. Windows write-watch time, actual byte transfers, driver behavior, and gameplay were outside the fixture. The standalone GPU tests and integrated workspace tests type-checked for Windows x86-64 MSVC. The integrated check used a metadata-only declaration for the allocator and pure-Rust BLAKE3. The staged asset policy passed.
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.