@LyalinDotCom, if you want a real world example of something causing poor performance, then clone my project [1]. There are a couple of 3mb T4 code-gen'd files [2][3] that bring VS to its knees. I suspect it's actually the Roslyn compiler, but can't be certain. I know that if I wipe the code in those files then the performance is restored.