- C# 7 and .NET Core 2.0 High Performance
- Ovais Mehboob Ahmed Khan
- 166字
- 2021-08-27 18:47:13
How releasing builds increases performance
Release and debug builds are two build modes provided in .NET applications. Debug mode is mostly used when we are in the process of writing code or troubleshooting errors, whereas release build mode is often used while packaging the application to deploy on production servers. When developing the deployment package, developers often miss updating the build mode to the release build, and then they face performance issues when the application is deployed:

The following table shows some differences between the debug and release modes:
Debug |
Release |
No optimization of code is done by the compiler |
Code is optimized and minified in size when built using release mode |
Stack trace is captured and thrown at the time of exception |
No stack trace is captured |
The debug symbols are stored |
All code and debug symbols under #debug directives are removed |
More memory is used by the source code at runtime |
Less memory is used by the source code at runtime |
- PyTorch深度學(xué)習(xí)實(shí)戰(zhàn):從新手小白到數(shù)據(jù)科學(xué)家
- 大規(guī)模數(shù)據(jù)分析和建模:基于Spark與R
- Python數(shù)據(jù)分析與挖掘?qū)崙?zhàn)
- Python數(shù)據(jù)挖掘:入門(mén)、進(jìn)階與實(shí)用案例分析
- Test-Driven Development with Mockito
- 大數(shù)據(jù)導(dǎo)論
- PySpark大數(shù)據(jù)分析與應(yīng)用
- Spark核心技術(shù)與高級(jí)應(yīng)用
- gnuplot Cookbook
- 數(shù)據(jù)分析師養(yǎng)成寶典
- 計(jì)算機(jī)視覺(jué)
- 信息融合中估計(jì)算法的性能評(píng)估
- 大數(shù)據(jù)測(cè)試技術(shù):數(shù)據(jù)采集、分析與測(cè)試實(shí)踐(在線實(shí)驗(yàn)+在線自測(cè))
- 2D 計(jì)算機(jī)視覺(jué):原理、算法及應(yīng)用
- 數(shù)據(jù)隱私與數(shù)據(jù)治理:概念與技術(shù)