开发者

Why does Visual Studio 2010 slow down when editing a large .js file?

开发者 https://www.devze.com 2023-03-17 13:21 出处:网络
I have .js file that is currently over 4400 lines, editing it is very slow (about a second delay from keypress to character appearing in the document).

I have .js file that is currently over 4400 lines, editing it is very slow (about a second delay from keypress to character appearing in the document).

Are there any particular performance issues related to editing large file or JavaScr开发者_C百科ipt files?

N.B. I am using VS2010 SP1 and am running it with 16GB of RAM, and have installed http://jsoutlining.codeplex.com.


Disabling the JSOutlining extension has improved this.


Late to the party here, but I found a solution to my 10 second or more editor delay. Disclaimer: I'm using a Dell Latitude Quad i5-2450M CPU @ 2.5GHz with 8G RAM on Win 7 Enterprise.

And now, the fix: I changed my power settings to the highest performance plan (in my case, Ultra). This resulted in performance increases across the board for VS 2010, not just in the text editor. I'm a bit ashamed that it was so easy after uninstalling, reninstalling, un-extensioning, etc. Note: This will kill your battery if you're not plugged in. Hope this helps!

0

精彩评论

暂无评论...
验证码 换一张
取 消