Personally I'd recommend Mirillis Action, as it doesn't impact performance and you can compress recorded videos down to a reasonable video size, without really any loss in video quality. However, if you're looking for a free solution, OBS will do the job; you'll just have to do a bit of tweaking to get the most out of it.
Afterburner also do an amazing video recording codec, but I don't think they've completely nailed the audio (mic) recording just yet.
Last time I checked it was one or t'other.
I do believe, it's based on/using Dxtory.