How to reduce lag spikes?

Hi, after changing the dxlevel from 81 to 95, I noticed a lot of lag spikes whenever using weapons, such as snipers from MK9 weapons.
Is there a way to reduce the lag without going back to dxlevel 81?

try -dxlevel 90, think it should have a small effect dunno, use less addons, lower your settings etc.

Or Windows Visual Effects can cause this.
Disable Windows Visual Effects.

How to disable Visuak Effects

If still not helping try to add code below as quick lunch option:

Then try to reduce your video settings in game.
I suggest:

**Try to play with this settings to get the best rending and gain a little FPS