Poor login performance with Visual Studio 10 SP1 and RTC RC1
When I login to the repository connection in the Eclipse client it takes about 2 seconds to login. When I perform the same action from within Visual Studio it takes up to 45 seconds???
This behavior is equivalent when creating a workitem. Creating a workitem can take up to 28 seconds in Visual Studio 10 while it takes less than 2 seconds in the Eclipse client.
How can this be and is anyone familiar with this behavior?
Accepted answer
Cheers
--Rupa
3 other answers
We found the root cause to some level.
When setting automatic proxy settings to true in IE (Tools, Internet options, Connection settings, Lan settings) it takes a long time (>25 seconds) to login. When it is unset it is OK. This is only when using the Visual Studio 10 client. This not only counts for login in but for more actions like "create work item", expansing source control and more.
Regards,
Harmen Leenders
Comments
Log in via the VS Client is comparable to logging in via the Web Client - these two clients use the same APIs to log in. It's slower than the Eclipse client, but 2 sec vs 45 sec sounds like a lot to me. When I try to connect via Eclipse to my development server it takes me 10 secs in Eclipse as opposed to 30 secs in the VS Client. Do you see a 20 times difference every time you try to log in?
As for work items, once again, the APIs we use in the VS Client are different, and slower - thought again 2 sec vs 28 sec isn't something I have seen. We're going to have a look at the work item API and see how we can get better performance - I've created Creating or opening a work item takes more time in the VS Client than in Eclipse (215219) to track it.
Cheers
--Rupa
This does not sound good. Did you notice if this performance is the same for subsequent actions. For example, if you create a second work item - how long does that take compared to the first time.
BTW - is this RTC v4 RC1? If so - you should use the production release (which shipped a week ago).
regards
anthony