哪个影响最大?
<compilation debug="true">
考虑到性能和内存使用情况,有没有人做过任何测试来获得有关差异的实际数字? (也许其他指标也很有用?)
例如:
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
答案 0 :(得分:0)
这篇文章解释了这些缺点。
http://www.aspnetresources.com/articles/debug_code_in_production.aspx
在我看来,它似乎比“网络项目”应用程序更能影响“网站”应用程序。