UE4 Running Painfully Slow

I was having the same issue - slow when windows aren’t maximized, slow when popping up tooltips etc. I have an i7-7700K and GTX 1070, Windows 10.

In my case, the problem turned out to be the NVIDIA GeForce Experience overlay. After turning it off, editor runs buttery smooth 100% of the time.