zoukankan      html  css  js  c++  java
  • 教你50招提升ASP.NET性能(十一):避免在调试模式下运行网站

    (17)Avoid running sites in debug mode

    招数17:

    避免在调试模式下运行网站

    When it comes to ASP.NET, one of the most common performance blunders I see on a regular basis is accidentally or intentionally running sites in debug mode. Language-level optimizations, such as using StringBuilders, Arrays instead of Lists, Switch instead of If-Then-Else, and so on, are popular, but when you measure their real impact, they usually pale in comparison to optimizations at the framework level.
    当涉及到ASP.NET,我经常看见的最常见的性能错误是偶然或故意在调试模式运行网站。语言级的优化,如使用StringBuilders,Arrays替换List,Switch替换If-Then-Else,等等,很受欢迎,但是当你权衡它们的实际的影响时候,与框架级别的优化相比往往是很苍白的。

  • 相关阅读:
    2013年 积木大赛
    Matlab 画图2
    Matlab 画图1
    Matlab 数值计算
    Matlab 条件循环函数
    Non Super Boring Substring 题解(hash+思维)
    Matlab 数组
    Matlab 矩阵
    L
    hdu 1671Phone List
  • 原文地址:https://www.cnblogs.com/JavCof/p/3195731.html
Copyright © 2011-2022 走看看