In a solution with 5 projects and ~750 files, the Pending Checkins in VS.NET-2005 seems to be about twice as slow as VS.NET-2003.
I enabled the logging in the SCC Provider and found that VS.NET-2005 is performing SccQueryInfo almost 80 times, asking for the status of 10 files at a time. VS.NET-2003 ask for all files in the project at one time.
Is there a way to revert to the 2003 functionality or increase the number of files requested per SccQueryInfo call

Pending Checkins is slower in 2005 vs 2003...
Girish Chander
You're more or less wrong about VS2003. In VS2003, updating the scc status of the files for the glyphs in SolutionExplorer was still done 10 files at a time, so you still got multiple calls to SccQueryInfo. If you opened the PendingCheckins before the scc status was up to date for all files, the status of the remaining files was got in one call per scc connection (minim one call per solution, maxim one call per project). These calls with all the files could have blocked the whole VisualStudio if the connection to the scc database was really slow.
In VS2005 this was changed for performance reasons. Population of PendingCheckins is also done 10 files at a time, so VS will not be blocked for really long time. This behavior cannot be configured or reverted to VS2003. If the source control provider is multithreading-aware (supports MSSCCI 1.3, SCC_EXCAP_THREADSAFE_QUERY_INFO capability), the SccQueryInfo calls with 10 files at a time are done on a background thread and should not be blocking at all. With older 1.2 MSSCCI providers (e.g. VSS6), status update is done 10 files at a time when VisualStudio is idle (on main UI thread, but not blocking for long time).
If you need to checkin files immediately, when PCW is not populated completely you should consider using Checkin dialog instead.
Also, I understand you may not be using VSS2005 (if you have enabled some sort of MSSCCI logging), so if you're implementing a source control provider, you should consider supporting MSSCCI 1.3 capabilities and multithreading query info.
Alin
Mitesh Budhabhatti
For VS.NET-2003 with a solution binding to SCC, the SccQueryInfo was being performed per project and the results reflected in the Pending Checkins when the solution is loaded into VS. You're definitely correct about it running in the foreground in VS.NET-2003.
The SCC Plugin does support and MSSCCI 1.3 with multi-threaded SccQueryInfo support. In VS.NET-2005, the requests are being run in the background but its taking much longer for the results to appear. I was hoping to find a way to increased the number of files per request or change it to request all files in the project.
Thanks for your help.
TheNetStriker
Well there is something seriously wrong with it. I am experiencing blocking during the entire scan (VS2008 with VSS2005 update 1) This has been happening since I started testing VS2008 with projects that are checked in.
PJHead
Hi John,
> I was hoping to find a way to increased the number of files per request or change it to request all files in the project.
Unfortunately none of these are possible.
Alin