If you have an NVIDIA GPU, then do this:
Open the NVIDIA App → Settings → Features tab → toggle "NVIDIA Overlay" OFF.
The overlay constantly hooks into your game's renderer. Turning it off gives you a free FPS bump in every game. Use OBS for clips instead.