avast Antivirus pro 7.0.1456.0 - MS Visual Studio 2012 RC / VS 2010 performance

Hi All!

I’m experiencing very bad performance with VS 2012 RC (and even VS 2010 pro) using avast Antivirus pro 7.0.1456.0. VS becomes nearly unusable. If I disable the avast modules (realtime security) all is fine.
For a while I will test some other AV products but I have always been very satisfied with avast until a few weeks ago.

Can you please just disable one shield? E.g. file-system shield, or behavior shield? Which one causes the slowdown? Thanks.
What’s your OS?

Oh, sorry: Windows 7 ultimate 64 Bit SP1 and all available automatically delivered Updates - my machine is a core i7-920 on a gigabyte EX58-DS4 with 6GB RAM tripe channel and all runs on raid 1 ocz vertex 2 ssd

It’s remarkably better when I disable only behaviour-shield. but only with also disabled file-system shield it is at normal speed. Don’t misunderstand me - I know that virus protection costs performance but we do not talk about a few moments we talk about nearly half a minute or even more!

Thanks for info. I remember there was a problem with VS in past (http://forum.avast.com/index.php?topic=90414.0). Does your VS also hang during compilation process? When do you observe the slowdown (in compile/link or in run phase?). We’ll try to simulate this issue in our lab.

It’s in the XAML-editor (code) and XAML-Designer is very very slow.
But even removing or adding refernces into a project takes such a long time that you can go out make a coffee and come back drinking it :frowning:
There are no hangs while compile time but this process runs like you pulling the break all the time too.

Ok. I did some tests for my own and installed avast pro without the behaviour scanner - slowdown already there but a bit better though.
Then I had a closer look to the excluded paths/file patterns. I’ve found that VS leads avast to scan many thounds of files during startup an while opening internal editors such as the xaml editor. While starting VS and watching the files avast shows in its UI I’ve go a better idea what to exclude els from the realtime file scanner.
Now everything works fine!

Thanks, can you please copy&paste exclusions you set?
Also, please remove exclusions, run Process Monitor tool, cleanup output window & start logging, start xaml editor, stop logging and please send me log output file (in PML format, incl. all logs). I’d see which operations are scanned by avast. Thanks!