Files
AnyPS5/core/libs
thuanquangandClaude d3d5e2f262 perf(agc): hash the pages of an import window on several threads
ImportWatched hashes every watched page of an import run before the
import, and checks every page the import reports written against those
hashes after it. On Windows the first touch of untouched write-watched
memory faults each page in, so the first pass over a fresh 64 MiB run
costs tens of milliseconds on the thread that draws.

Both passes now split their pages over up to four threads, at least
1024 pages per thread. The checks after the import still run after the
walk has reset the write watch, so a CPU store during the window is
caught as before.

Co-Authored-By: Claude <[email protected]>
2026-10-24 17:30:33 +07:00
..
…