ode*_*its 8 asp.net performance
我试图找到我的加载时间消耗的地方.我已经添加了对我能想到的几乎所有内容的跟踪,并且缺少200ms(超过总负载的50%)
我怎样才能解释这个缺失的时间
Description Duration(ms) with Children(ms) from start(ms)
http://localhost:80/default.aspx 320.8 357.3 +0.0
CreateControlCollection 0.0 0.0 +27.2
OnPreInit 0.1 0.1 +27.2
GetVaryByCustomString 0.0 0.0 +227.0
Control OnInit 0.0 0.0 +232.4
Control OnInit 0.0 0.0 +232.4
Control OnInit 0.0 0.0 +234.2
Control OnInit 0.0 0.0 +234.2
Control OnInit 0.0 0.0 +234.2
GetVaryByCustomString 0.0 0.0 +234.6
Control OnInit 0.0 0.0 +234.9
Control OnInit 0.0 0.0 +234.9
GetVaryByCustomString 0.0 0.0 +235.0
GetVaryByCustomString 0.0 0.0 +235.3
Run Code Online (Sandbox Code Playgroud)
看起来在 PreInit(仅页面事件)和控件的 Init 之间消耗了未计算的时间。一些想法: