教你50招提高ASP.NET性能(十七):不要認爲問題只會從業務層產生

(28)Don’t assume that problems can only arise from business logicapp

招數28:框架

不要認爲問題只會從業務層產生ide

When beginning to diagnose performance problems, we often assume the problem is in our business logic. Don’t forget that the areas of our code that provide infrastructure can cause problems as well.
當開始診斷性能問題時,咱們通常認爲問題出在咱們的業務邏輯上。不要忘記爲咱們提供基礎代碼的區域一樣可能致使問題。性能

Areas such as HttpHandlers, HtmlHelpers, mapping, logging, or IoC frameworks are increasingly at the root of performance problems. While business logic still causes its share of problems, infrastructure code is quickly gaining in the performance problem race.
好比HttpHandlers, HtmlHelpers, mapping, looging, 或IoC框架區域正在愈來愈多的成爲根本的性能問題。而業務邏輯會致使它和基礎代碼都存在問題,基礎代碼性能問題會更突出。ui

相關文章
相關標籤/搜索