Webgrid performance in prerender

5 replies. Last post: November 15, 2009 8:52 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
David CapperMember

Hi,

We are having performance issue with the WebGrid.

On a brand new clean web application project, just by putting the WebGrid on the page causes the page to slow down in the PreRender process.

See trace below, the PreRender step uses .41 second, and this is an empty page, with just the WebGrid on the page with default settings.

We've done some testings, and it seems that it doens't have this issue if we change ViewStateStorage to "None", but want to know is it expected to be this slow with the default settings of "Client" for ViewStateStorage.  The speed also decreases with more instances of the grid on the page, eg if we have two grid on one page, the speed slows to .8 seconds.

 

Request Details

 

Request Details

Session Id:

5v32jc2lprxu2d555vjtfp45

Request Type:

GET

Time of Request:

11/2/2009 10:51:41 AM

Status Code:

200

Request Encoding:

Unicode (UTF-8)

Response Encoding:

Unicode (UTF-8)

 

Trace Information

Category

Message

From First(s)

From Last(s)

aspx.page

Begin PreInit

aspx.page

End PreInit

4.5E-05

0.000045

aspx.page

Begin Init

6.444E-05

0.000019

aspx.page

End Init

0.0004564

0.000392

aspx.page

Begin InitComplete

0.00048084

0.000024

aspx.page

End InitComplete

0.00049676

0.000016

aspx.page

Begin PreLoad

0.00058236

0.000086

aspx.page

End PreLoad

0.00059964

0.000017

aspx.page

Begin Load

0.00061612

0.000016

aspx.page

End Load

0.00087248

0.000256

aspx.page

Begin LoadComplete

0.00089472

0.000022

aspx.page

End LoadComplete

0.00091044

0.000016

aspx.page

Begin PreRender

0.00092592

0.000015

aspx.page

End PreRender

0.41778468

0.416859

aspx.page

Begin PreRenderComplete

0.417837

0.000052

aspx.page

End PreRenderComplete

0.41802892

0.000192

aspx.page

Begin SaveState

0.41894152

0.000913

aspx.page

End SaveState

0.4194884

0.000547

aspx.page

Begin SaveStateComplete

0.41951864

0.000030

aspx.page

End SaveStateComplete

0.41953692

0.000018

aspx.page

Begin Render

0.41955384

0.000017

aspx.page

End Render

0.42292328

0.003369

 

Control Tree

Control UniqueID

Type

Render Size Bytes (including children)

ViewState Size Bytes (excluding children)

ControlState Size Bytes (excluding children)

__Page

ASP.default_aspx

8602

0

0

    ctl02

System.Web.UI.LiteralControl

175

0

0

    ctl00

System.Web.UI.HtmlControls.HtmlHead

632

0

0

        ctl01

System.Web.UI.HtmlControls.HtmlTitle

19

0

0

        ISMenu.css

System.Web.UI.LiteralControl

82

0

0

        WG_CommonStyles

System.Web.UI.LiteralControl

176

0

0

        WG5_Default_Elegant

System.Web.UI.LiteralControl

197

0

0

        ctl03

System.Web.UI.LiteralControl

145

0

0

    ctl04

System.Web.UI.LiteralControl

14

0

0

    form1

System.Web.UI.HtmlControls.HtmlForm

7761

0

0

        ctl05

System.Web.UI.LiteralControl

27

0

0

        WebGrid1

ISNet.WebUI.WebGrid.WebGrid

4492

660

0

            WebGrid1$WebGrid1_h

System.Web.UI.HtmlControls.HtmlInputHidden

75

0

0

        ctl06

System.Web.UI.LiteralControl

24

0

0

    ctl07

System.Web.UI.LiteralControl

20

0

0

 

Session State

Session Key

Type

Value

 

Application State

Application Key

Type

Value

ISThemeEnabled

System.Boolean

False

ISRes_Registered

System.Boolean

True

AsmRes_ISNet.WebUI.WebGrid.Resources

System.Boolean

True

ISRes_Compressed

System.Boolean

False

 

 

 

Bottom of Form

 

All times are GMT -5. The time now is 3:30 PM.
Previous Next