We've been currently pondering about transfering our main project to MVC 3 but before that, we wanted to test MVC's overall performance.
So we generated a dummy MVC 3 project with 1000 controllers, each with 5 actions returning an instance of one of 1000 generated models (just a simple class with 20 string properties, no functionality) to a strongly generated view. 1000 controllers * 5 actions
= 5000 views.
MVC did well on this test - build time just few pretty fast seconds, the project starts well, no performance issues so far.
So we went further and included Razor Generator on this test - we needed to generate the <Compile> (for *.generated.cs) and <Content> (for views themselves) tags for the csproj project file because the command "Redo-RazorGenerator"
performed quite badly for 5000 views (generated approx 1.3 views per second)
Once we updated the csproj file, we opened the project.
5000 views, each with its *.generated.cs version (that's 10000 files!), causes Visual Studio 2010 to open after cca 3-4 minutes.
We don't blame Razor Generator for this though, we think it's a VS2010 issue regarding those dependency tags "<DependentUpon>" in the csproj file for the generated files ...but we're not sure, whose fault this really is and that's why I am
posting this :)