asp.net - Why is aspnet_compiler.exe so slow (and can it be made any faster)? -
during our build process run aspnet_compiler.exe
against our websites make sure late-bound stuff in asp.net/mvc builds (i know nothing asp.net assured necessary prevent finding failures @ runtime).
our sites large in size, few hundred pages/views/controls/etc. time taken seems excessive in 10-15 minute range (for reference, longer takes entire solution approx 40 projects compile, , we're pre-compiling 2 website projects).
i doubt hardware issue i'm running on latest quad core intel chip, 4gb ram , wd velociraptor 10,000rpm hard disk. , part of what's odd exe doesn't seem using cpu (1-5%) , doesn't seem doing awful lot of i/o either.
so... known issue? why slow? , there way speed up?
note: clarify couple of things people have answered about, not talking compilation of code within visual studio. we're using web application projects already, , speed of compilation of not issue. problem pre-compilation of site after these projects have been compiled (see msdn page more details) part of dev build script. performing in-place pre-compilation, not copying files target directory.
- compiler should generate second code-behind file every .aspx page, check
- during compilation, aspnet_compiler.exe copy of web site files output directory, including css, js , images.
you'll better compilation times using web application project instead of web site model.
Comments
Post a Comment