B
Bruno Jouhier [MVP]
I'm currently experiencing a strange phenomenon:
At my Office, Visual Studio takes a very long time to compile our solution
(more than 1 minute for the first project).
At home, Visual Studio compiles the same solution much faster (about 10
seconds for the first project).
My home computer is only marginally faster than the one I have at the office
(P4 2.53 vs. P4 2.4, same amount of RAM).
On the slow machine, the CPU usage is very low, especially at the end of the
compilation phase (once the progress bar is at the end, waiting for the
"build complete" message). This low CPU phase seems to account for the
difference in overall time. There is no other process taking CPU during that
time (the "overall" CPU usage is 0 or very close to 0).
Also, we observe the same slowness on all the machines that we have in our
office. And the behavior is not due to the corporate antivirus because we
turned it off.
I'm puzzled (and a bit frustrated). Could this be due to the fact that we
are on a corporate LAN and that .NET needs to run more expensive security
checks that block on network requests. This my only hypothesis so far
because I saw small bursts of activity in lsass.exe during the low CPU
phase.
Anybody experienced something like this? Any clues on what could cause this?
Bruno.
At my Office, Visual Studio takes a very long time to compile our solution
(more than 1 minute for the first project).
At home, Visual Studio compiles the same solution much faster (about 10
seconds for the first project).
My home computer is only marginally faster than the one I have at the office
(P4 2.53 vs. P4 2.4, same amount of RAM).
On the slow machine, the CPU usage is very low, especially at the end of the
compilation phase (once the progress bar is at the end, waiting for the
"build complete" message). This low CPU phase seems to account for the
difference in overall time. There is no other process taking CPU during that
time (the "overall" CPU usage is 0 or very close to 0).
Also, we observe the same slowness on all the machines that we have in our
office. And the behavior is not due to the corporate antivirus because we
turned it off.
I'm puzzled (and a bit frustrated). Could this be due to the fact that we
are on a corporate LAN and that .NET needs to run more expensive security
checks that block on network requests. This my only hypothesis so far
because I saw small bursts of activity in lsass.exe during the low CPU
phase.
Anybody experienced something like this? Any clues on what could cause this?
Bruno.