Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Poor VS Performance - High CPU on IsAssertEtwEnabled

I'm running Visual Studio 2013 Update 4 and have been seeing high CPU usages and noticeable delay on simple UI menu navigation and basic text editing.

Using ProcessExplorer I took a screenshot which shows one thread is doing a lot of CPU in something called IsAssertEtwEnabled:

Process Explorer Screenshot

The screenshot was captured randomly scrolling up and down in the Extensions and Updates window.

Any ideas how to speed up performance?

And yes I'm running several plugins, but I'd prefer to keep them, or at least find a way to isolate which one is causing this.

And I've reviewed a similar issue (VS2013 Update 3 incredibly slow - devenv.exe!!IsAssertEtwEnabled guilty thread), but I don't have anything from DevExpress installed.

like image 641
Philip Pittle Avatar asked Sep 09 '25 22:09

Philip Pittle


2 Answers

Looks like this is caused by browserLink going rogue (or it was for me anyway)

You can disable it next time the issue occurs:

enter image description here

For me when I disabled it I immediately got my CPU back. I personally was linking to chrome though I'm not sure it makes a difference.

I guess if you use it hopefully it will be fixed in a new version...

like image 132
Not loved Avatar answered Sep 12 '25 13:09

Not loved


Try to disable extensions one by one.

I fixed the issue by clearing ReSharper cache (VS 2015 CE).

ReSharper > Options > General > Clear Caches > Restart Visual Studio

@Sergii noticed that it's possible to delete the cache data directly in file system (%localappdata%\JetBrains\Transient).

like image 23
Der_Meister Avatar answered Sep 12 '25 15:09

Der_Meister