Files
client/tests/PERFORMANCE.md
T

36 lines
2.3 KiB
Markdown

# In-game optimizations
Enable the existing optimizations module in Utility. New settings autosave in
existing profiles; the module is not force-enabled in the user's profile.
- Reduce native particles: filters the verified named particle lookup before
emitter creation, with the existing supported empty-definition return path.
- Maximum particles kept: default 50%. Adaptive density lowers this in 10-point
steps when measured FPS falls below 90% of the target and restores it in
5-point steps above 110%. Measurement windows are at least half a second.
Foreground FPS caps lower the effective target. Menus/background suspend
adaptation. It reduces future emitters; existing emitters expire normally.
- Particle budget: default 200 accepted non-combat lookups per 100ms. Set 0 for
unlimited. A packed timestamp/count CAS makes the budget safe across threads.
- Preserve combat particles: defaults on; the separate Particle Controls module
can still suppress categories selected there. Both modules compose.
- HUD data refresh: defaults to 30Hz for local equipment, health/name metadata,
roster, XP and effects. Geometry, velocity, camera matrices, targeting and
nametag player positions are still sampled every rendered world frame. Cache
refreshes immediately on world/player/reader changes or an invalid frame.
Set 0 to restore per-frame metadata reads. These settings do not change game
simulation, inventory actions, packets or tick rates.
- Disable present vsync: optional, defaults off. Sends SyncInterval=0 through the
existing D3D11 Present hook, preserving TEST calls and all native flags. It
does not force tearing flags, overwrite game options, or bypass other FPS
limits. Presentation behavior depends on the game's swapchain/Windows.
Disabling the module restores full-rate reads, native sync and particle behavior
independently of Particle Controls. No speculative game offsets are introduced.
The original Windows scheduling controls/frame caps remain available.
Validation covers native particle forwarding/empty returns, combat exceptions,
filter composition, deterministic density, concurrent burst ceilings/rollovers,
adaptive recovery, refresh invalidation and native Present flags. Full FPS gains
need an in-game comparison in the same scene; none are claimed from unit tests.