Measuring debug vs release of ASP.NET applications
- by Alex Angas
A question at work came up about building ASP.NET applications in release vs debug mode. When researching further (particularly on SO), general advice is that setting <compilation debug="true"> in web.config has a much bigger impact.
Has anyone done any testing to get some actual numbers about this?
Here's the sort of information I'm looking for (which may give away my experience with testing such things):
Execution time | Debug build | Release build
-------------------+---------------+---------------
Debug web.config | average 1 | average 2
Retail web.config | average 3 | average 4
Max memory usage | Debug build | Release build
-------------------+---------------+---------------
Debug web.config | average 1 | average 2
Retail web.config | average 3 | average 4
Output file size | Debug build | Release build
-------------------+---------------+---------------
| size 1 | size 2