Garry's Mod

Garry's Mod

Terminal Velocity
High Server-Side Performance Impact
During profiling (over 274 frames), the ApplyTerminalVelocityThinkHook was identified as the most performance-intensive hook, accounting for 41.54% of server lag with:

Mean Execution Time: 9,638µs per frame

Peak Execution Time: 21,397µs (exceeding a full frame at 66Hz)

Affected Map: gm_boreas (and likely others with complex physics)

Impact:
Causes severe server-side lag spikes, especially in physics-heavy environments.

Disabling this mod immediately resolved the lag issues in testing.

Could the mod be optimized?