开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜