My work laptop is an i7 with 16GB RAM and I sometimes see this delay in inputs when running Visual Studio. I type a line of code then wait a few seconds for it to appear.
Weird thing is when it does this, I'm not using all the memory and the CPU is normally sitting way below 50%.
I've no idea why it sometimes just gets unusably slow.