Speed up the aspnet_compiler.
The aspnet_compiler is slow to precompile web pages. We have a high end build server and the aspnet_compiler.exe runs and hardly uses in CPU or RAM.
Is there anything that can be done to speed up precompilation as it accounts for 50% of our total build time.
and the aspnet_merge.exe could be faster too. the merge tool is not multithread.
Jeffrey T. Fritz commented
This can be done with Roslyn: http://blogs.msdn.com/b/webdev/archive/2014/05/12/enabling-the-net-compiler-platform-roslyn-in-asp-net-applications.aspx
I work on websites with around 9k aspx/ascx files. Imagine how much time it takes me to publish that website... don't imagine cause it takes 2.5h just for the aspnet_compiler part.
Paul Lemke commented
Same here. Our powerful 4 core build server barely uses the CPU. SSD's helped, but not much. We have a large website total build time is 10 minutes, aspnet_compiler is 7 minutes of it.
Nick Craver commented
This is by far the slowest part of building the Stack Overflow/Stack Exchange sites. aspnet_compiler currently eats 2 minutes 6 seconds out of a 3 minute 30 second build process. We have 8-12 core build servers basically sitting idle while we wait for 60% of our build to crawl along, it's honestly painful to watch.
Please fix this, or allow us to do it. Currently we can't touch the parts of the engine related to batching or parallelization.