By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,627 Members | 1,188 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,627 IT Pros & Developers. It's quick & easy.

Serious rendering performance issue with ASP.NET 2.0

P: n/a
I have no idea why, but since I'm trying to recreate my website using
ASP.NET 2.0 I've encountered so many performance issues that I'm about to
give up and continue using v1.1

Seriously, how can a page that is not that complicated be so long to render
locally, it's amazing.

This is the trace info:

aspx.page Begin PreInit
aspx.page End PreInit 0.0463518812157079 0.046352
aspx.page Begin Init 0.0464098005002422 0.000058
aspx.page End Init 0.0507724654507819 0.004363
aspx.page Begin InitComplete 0.0508315524093228 0.000059
aspx.page End InitComplete 0.0508603382273912 0.000029
aspx.page Begin PreLoad 0.050883245868358 0.000023
aspx.page End PreLoad 0.053195331957778 0.002312
aspx.page Begin Load 0.0532569148195081 0.000062
Level 1 0.055238133844633 0.001981
Level 2 1.24767331400479 1.192435
Level 3 4.70909003164662 3.461417
Level 4 5.42230239107791 0.713212
Level 5 5.42237001134501 0.000068
aspx.page End Load 5.42393065409648 0.001561
aspx.page Begin LoadComplete 5.42399207374923 0.000061
aspx.page End LoadComplete 5.42403435150968 0.000042
aspx.page Begin PreRender 5.42406120270423 0.000027
aspx.page End PreRender 5.57577572830349 0.151715
aspx.page Begin PreRenderComplete 5.57584063770924 0.000065
aspx.page End PreRenderComplete 5.57587055670185 0.000030
aspx.page Begin SaveState 5.62490234928049 0.049032
aspx.page End SaveState 5.63038270780948 0.005480
aspx.page Begin SaveStateComplete 5.63045540480471 0.000073
aspx.page End SaveStateComplete 5.63049471959238 0.000039
aspx.page Begin Render 5.63051852952689 0.000024
aspx.page End Render 21.8912725576705 16.260754
22 seconds to load a page showing up a profile & some comments, very small
pages, it's seriously unacceptable, and that is while running in debug on my
local machine (a p4 3 GHz very well equiped), it's even slower on the
website.

It seems every time I use a GridView or a Repeater, I have the same
partner.. I just recoded by forum interface using VS.NET 2005 and it's so
slow that I can't even use it.. loading a thread page takes up to 1 minute
while in ASP.NET 1.1 it can take up to 5 seconds.

Anybody knows why rendering is so slow? I was starting to believe it was
because of my VS.NET' but since the code is also executed on a remote
server, it can't be my VS.NET...

I'm running out of options here... serious problem as it's taking up all the
resources of my Windows 2003 Server.

Thank you.

P/S: Level 1 to 5 is the queries to the database and databinding, which
isn't even why it's slow.
Mar 3 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
DWS
Spotnick,
Sorry your new page is running slow. Easier than porting try to use your
1.1 dll and just reference it on your 2.0 web application untill the
overseers can fix the performance issues.

Good Luck
DWS
"Spotnick" wrote:
I have no idea why, but since I'm trying to recreate my website using
ASP.NET 2.0 I've encountered so many performance issues that I'm about to
give up and continue using v1.1

Seriously, how can a page that is not that complicated be so long to render
locally, it's amazing.

This is the trace info:

aspx.page Begin PreInit
aspx.page End PreInit 0.0463518812157079 0.046352
aspx.page Begin Init 0.0464098005002422 0.000058
aspx.page End Init 0.0507724654507819 0.004363
aspx.page Begin InitComplete 0.0508315524093228 0.000059
aspx.page End InitComplete 0.0508603382273912 0.000029
aspx.page Begin PreLoad 0.050883245868358 0.000023
aspx.page End PreLoad 0.053195331957778 0.002312
aspx.page Begin Load 0.0532569148195081 0.000062
Level 1 0.055238133844633 0.001981
Level 2 1.24767331400479 1.192435
Level 3 4.70909003164662 3.461417
Level 4 5.42230239107791 0.713212
Level 5 5.42237001134501 0.000068
aspx.page End Load 5.42393065409648 0.001561
aspx.page Begin LoadComplete 5.42399207374923 0.000061
aspx.page End LoadComplete 5.42403435150968 0.000042
aspx.page Begin PreRender 5.42406120270423 0.000027
aspx.page End PreRender 5.57577572830349 0.151715
aspx.page Begin PreRenderComplete 5.57584063770924 0.000065
aspx.page End PreRenderComplete 5.57587055670185 0.000030
aspx.page Begin SaveState 5.62490234928049 0.049032
aspx.page End SaveState 5.63038270780948 0.005480
aspx.page Begin SaveStateComplete 5.63045540480471 0.000073
aspx.page End SaveStateComplete 5.63049471959238 0.000039
aspx.page Begin Render 5.63051852952689 0.000024
aspx.page End Render 21.8912725576705 16.260754
22 seconds to load a page showing up a profile & some comments, very small
pages, it's seriously unacceptable, and that is while running in debug on my
local machine (a p4 3 GHz very well equiped), it's even slower on the
website.

It seems every time I use a GridView or a Repeater, I have the same
partner.. I just recoded by forum interface using VS.NET 2005 and it's so
slow that I can't even use it.. loading a thread page takes up to 1 minute
while in ASP.NET 1.1 it can take up to 5 seconds.

Anybody knows why rendering is so slow? I was starting to believe it was
because of my VS.NET' but since the code is also executed on a remote
server, it can't be my VS.NET...

I'm running out of options here... serious problem as it's taking up all the
resources of my Windows 2003 Server.

Thank you.

P/S: Level 1 to 5 is the queries to the database and databinding, which
isn't even why it's slow.

Mar 3 '06 #2

P: n/a
I wasn't aware you could actually reference v1.1 DLL into an ASP.NET 2.0
application... good thing to know, it might help since I'm running the 2.0
Application as a subdomain of the 1.1 application right now.

Seems to affect only the rendering of databind controls such as the gridview
and the repeater.. some pages simply time out because there is a repeater
with hum, 20 data items in it?

Something that makes me think about going back, but I like the developping
tools and new controls + master pages too much of a benefit to keep on v1.1

I'll try to use the old DLL to make the site fully 2.0 to see if it will
have an impact.. but I see my web server and sql server maxing at 100% too
often these days for a single application.. but all tracing shows it's not
data related but due to rendering.. when I execute my stored procedures, they
run fast.

And I use Enterprise Library latest version, binding the controls with
datatables from strongly-typed datasets.

"DWS" wrote:
Spotnick,
Sorry your new page is running slow. Easier than porting try to use your
1.1 dll and just reference it on your 2.0 web application untill the
overseers can fix the performance issues.

Good Luck
DWS
"Spotnick" wrote:
I have no idea why, but since I'm trying to recreate my website using
ASP.NET 2.0 I've encountered so many performance issues that I'm about to
give up and continue using v1.1

Seriously, how can a page that is not that complicated be so long to render
locally, it's amazing.

This is the trace info:

aspx.page Begin PreInit
aspx.page End PreInit 0.0463518812157079 0.046352
aspx.page Begin Init 0.0464098005002422 0.000058
aspx.page End Init 0.0507724654507819 0.004363
aspx.page Begin InitComplete 0.0508315524093228 0.000059
aspx.page End InitComplete 0.0508603382273912 0.000029
aspx.page Begin PreLoad 0.050883245868358 0.000023
aspx.page End PreLoad 0.053195331957778 0.002312
aspx.page Begin Load 0.0532569148195081 0.000062
Level 1 0.055238133844633 0.001981
Level 2 1.24767331400479 1.192435
Level 3 4.70909003164662 3.461417
Level 4 5.42230239107791 0.713212
Level 5 5.42237001134501 0.000068
aspx.page End Load 5.42393065409648 0.001561
aspx.page Begin LoadComplete 5.42399207374923 0.000061
aspx.page End LoadComplete 5.42403435150968 0.000042
aspx.page Begin PreRender 5.42406120270423 0.000027
aspx.page End PreRender 5.57577572830349 0.151715
aspx.page Begin PreRenderComplete 5.57584063770924 0.000065
aspx.page End PreRenderComplete 5.57587055670185 0.000030
aspx.page Begin SaveState 5.62490234928049 0.049032
aspx.page End SaveState 5.63038270780948 0.005480
aspx.page Begin SaveStateComplete 5.63045540480471 0.000073
aspx.page End SaveStateComplete 5.63049471959238 0.000039
aspx.page Begin Render 5.63051852952689 0.000024
aspx.page End Render 21.8912725576705 16.260754
22 seconds to load a page showing up a profile & some comments, very small
pages, it's seriously unacceptable, and that is while running in debug on my
local machine (a p4 3 GHz very well equiped), it's even slower on the
website.

It seems every time I use a GridView or a Repeater, I have the same
partner.. I just recoded by forum interface using VS.NET 2005 and it's so
slow that I can't even use it.. loading a thread page takes up to 1 minute
while in ASP.NET 1.1 it can take up to 5 seconds.

Anybody knows why rendering is so slow? I was starting to believe it was
because of my VS.NET' but since the code is also executed on a remote
server, it can't be my VS.NET...

I'm running out of options here... serious problem as it's taking up all the
resources of my Windows 2003 Server.

Thank you.

P/S: Level 1 to 5 is the queries to the database and databinding, which
isn't even why it's slow.

Mar 3 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.