ASP.NET跟踪“Begin Init”值大于“End Render”

时间:2010-09-28 15:07:08

标签: asp.net trace

我正在尝试查明ASP.NET页面性能问题,并且我正在运行跟踪。看看返回的值,“Begin Init”值大于“End Render”。列出的每个事件的秒数不应该增加吗?

以下是输出示例:

Category Message From First(s) From Last(s) 
aspx.page Begin PreInit   
aspx.page End PreInit 1.34734832226262E-05 0.000013 
aspx.page Begin Init 3.04115764167849E-05 0.000017 
aspx.page End Init 0.000133579962235751 0.000103 
aspx.page Begin InitComplete 0.000148208315448888 0.000015 
aspx.page End InitComplete 0.000158602145363486 0.000010 
aspx.page Begin PreLoad 0.000167841105287572 0.000009 
aspx.page End PreLoad 0.000180544675183191 0.000013 
aspx.page Begin Load 0.000189783635107278 0.000009 
aspx.page End Load 1.11670230723776 1.116513 
aspx.page Begin LoadComplete 1.11673502855416 0.000033 
aspx.page End LoadComplete 1.11674580734074 0.000011 
aspx.page Begin PreRender 1.116754661344 0.000009 
aspx.page End PreRender 1.1210065076924 0.004252 
aspx.page Begin PreRenderComplete 1.12102498561224 0.000018 
aspx.page End PreRenderComplete 1.12108927337505 0.000064 
aspx.page Begin SaveState 1.12280194557098 0.001713 
aspx.page End SaveState 1.12307988428203 0.000278 
aspx.page Begin SaveStateComplete 1.1230991321152 0.000019 
aspx.page End SaveStateComplete 1.12311029585844 0.000011 
aspx.page Begin Render 1.12311876490504 0.000008 
aspx.page End Render 1.12626309093254 0.003144 

1 个答案:

答案 0 :(得分:2)

不,不是。查看3.04115764167849 E-05结束时的E-05

Begin Init的实际值是:

0.0000304115764167849