StuperUser
StuperUser

Reputation: 10850

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 JavaScript files?

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

Upvotes: 8

Views: 1517

Answers (2)

ericb
ericb

Reputation: 113

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!

Upvotes: 0

StuperUser
StuperUser

Reputation: 10850

Disabling the JSOutlining extension has improved this.

Upvotes: 3

Related Questions