I don't think so.
I do lots of compiling at work and our compiler hasn't changed in 5+ years.
pre spectre my 8700k could do 20k lines/sec. Post spectre with mitigation it's about 10k, with them disabled it's about 15k.
There's clearly been some under the hood changes to windows beyond these optional? changes.