.NETGURU
Page tuning: what happens between PreRender and SaveViewState?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngspeed' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Kirk Marple (VIP)
i was doing some server control perf testing - specifically seeing how much
slower <asp:Label> rendering is vs. writing out the <span> tag myself.

when using trace.axd for app level tracing, i'm seeing 50% or more of the
page request time occurring between aspx.page: End PreRender and aspx.page:
Begin SaveViewState.

what's happening between these two states? it seems to be proportional to
the render time of the page.

(the page being rendered contains a DataList with 3000 rows, each of which
has either an <asp:Label> tag in it, or a <span> tag. this is just a perf
test, not a page with live data.)

thanks for any info!
Kirk

----------------------------------
Kirk Marple
CTO, VP of Engineering
Streaming Media Technologies, Inc.
800 5th Ave, Suite 101-358
Seattle, WA 98104
c: 206.251.4820
e: Click here to reveal e-mail address
w: http://www.streamingmediatech.com

Sent using the Entourage X Test Drive.
Reply to this message...
 
    
Susan Warren
This is a multi-part message in MIME format.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
    boundary="----_=_NextPart_001_01C1A032.D53F16C6"

------_=_NextPart_001_01C1A032.D53F16C6
Content-Type: text/plain;
    charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Kirk --
=20
The *only* thing that happens between End PreRender and Begin
SaveViewState is building up and rendering the tree for the Trace
feature. So you are measuring the cost of your perf testing :) Trace
is at best an approximate means of measuring performance. =20
=20
Our perf guru, Fabio Yeon, wrote a whitepaper about performance and
ASP.NET, including a bit about testing methodology. You can check it
out at:
http://www.gotdotnet.com/team/asp/asp.net%20performance%20tips%20and%20t
ricks.aspx.
=20
hth,
Susan

    -----Original Message-----
    From: Kirk Marple [mailto:Click here to reveal e-mail address]=20
    Sent: Friday, January 18, 2002 2:48 AM
    To: aspngspeed
    Subject: [aspngspeed] Page tuning: what happens between
PreRender and SaveViewState?
=09
=09
    i was doing some server control perf testing - specifically
seeing how much slower <asp:Label> rendering is vs. writing out the
<span> tag myself.
=09
    when using trace.axd for app level tracing, i'm seeing 50% or
more of the page request time occurring between aspx.page: End PreRender
and aspx.page: Begin SaveViewState.
=09
    what's happening between these two states? it seems to be
proportional to the render time of the page. =20
=09
    (the page being rendered contains a DataList with 3000 rows,
each of which has either an <asp:Label> tag in it, or a <span> tag.
this is just a perf test, not a page with live data.)
=09
    thanks for any info!
    Kirk
=09
    ----------------------------------
    Kirk Marple
    CTO, VP of Engineering
    Streaming Media Technologies, Inc.
    800 5th Ave, Suite 101-358
    Seattle, WA 98104
    c: 206.251.4820
    e: Click here to reveal e-mail address
    w: http://www.streamingmediatech.com
=09
=09
=09
=09
=09

    Sent using the Entourage X Test Drive.

    | [aspngspeed] member Click here to reveal e-mail address =3D YOUR ID
    | http://www.asplists.com/asplists/aspngspeed.asp =3D JOIN/QUIT
    | http://www.asplists.com/search =3D SEARCH Archives
=09

------_=_NextPart_001_01C1A032.D53F16C6
Content-Type: text/html;
    charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =
size=3D2>Kirk=20
--</FONT></SPAN></DIV>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =

size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =
size=3D2>The=20
*only* thing that happens between End PreRender and Begin SaveViewState =
is=20
building up and rendering the tree for the Trace feature.  So you =
are=20
measuring the cost of your perf testing :)  Trace is at best an =
approximate=20
means of measuring performance.  </FONT></SPAN></DIV>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =

size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =
size=3D2>Our=20
perf guru, Fabio Yeon, wrote a whitepaper about performance and ASP.NET, =

including a bit about testing methodology.  You can check it out =
at: <A=20
href=3D"http://www.gotdotnet.com/team/asp/asp.net%20performance%20tips%20=
and%20tricks.aspx">http://www.gotdotnet.com/team/asp/asp.net%20performanc=
e%20tips%20and%20tricks.aspx</A>.</FONT></SPAN></DIV>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =

size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =

size=3D2>hth,</FONT></SPAN></DIV>
<DIV><SPAN class=3D324560815-18012002><FONT face=3DArial color=3D#800080 =

size=3D2>Susan</FONT></SPAN></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> Kirk =
Marple=20
[mailto:Click here to reveal e-mail address] <BR><B>Sent:</B> Friday, January =
18, 2002=20
2:48 AM<BR><B>To:</B> aspngspeed<BR><B>Subject:</B> [aspngspeed] Page =
tuning:=20
what happens between PreRender and =
SaveViewState?<BR><BR></FONT></DIV><FONT=20
face=3DVerdana>i was doing some server control perf testing - =
specifically=20
seeing how much slower <asp:Label> rendering is vs. writing out =
the=20
<span> tag myself.<BR><BR>when using trace.axd for app level =
tracing,=20
i'm seeing 50% or more of the page request time occurring between =
aspx.page:=20
<B>End PreRender</B> and aspx.page: <B>Begin =
SaveViewState</B>.<BR><BR>what's=20
happening between these two states?  it seems to be proportional =
to the=20
render time of the page.  <BR><BR>(the page being rendered =
contains a=20
DataList with 3000 rows, each of which has either an <asp:Label> =
tag in=20
it, or a <span> tag.  this is just a perf test, not a page =
with=20
live data.)<BR><BR>thanks for any=20
info!<BR>Kirk<BR><BR>----------------------------------<BR>Kirk =
Marple<BR>CTO,=20
VP of Engineering<BR>Streaming Media Technologies, Inc.<BR>800 5th =
Ave, Suite=20
101-358<BR>Seattle, WA 98104<BR>c: 206.251.4820<BR>e:=20
Click here to reveal e-mail address<BR>w:=20
http://www.streamingmediatech.com<BR><BR><BR></FONT><BR><BR>
<P>Sent using the Entourage X Test Drive.</P>| [aspngspeed] member=20
Click here to reveal e-mail address =3D YOUR ID<BR>|=20
http://www.asplists.com/asplists/aspngspeed.asp =3D JOIN/QUIT<BR>|=20
http://www.asplists.com/search =3D SEARCH =
Archives<BR></BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C1A032.D53F16C6--

--------------InterScan_NT_MIME_Boundary--

Reply to this message...
 
    
Susan Warren
This is a multi-part message in MIME format.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
    boundary="----_=_NextPart_001_01C1A05E.6CDA124B"

------_=_NextPart_001_01C1A05E.6CDA124B
Content-Type: text/plain;
    charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We're definitely in a Tahiti state of mind :)

    -----Original Message-----
    From: Kirk Marple [mailto:Click here to reveal e-mail address]=20
    Sent: Friday, January 18, 2002 10:05 AM
    To: aspngspeed
    Subject: [aspngspeed] RE: Page tuning: what happens between
PreRender and SaveViewState?
=09
=09
    ah, that's kinda funny... now that makes more sense.
=09
    thanks for the quick response, Susan!
=09
    gee, i thought the ASP.NET team would all be in Tahiti right
now... ;)
=09
    On 1/18/02 7:14 AM, "Susan Warren" <Click here to reveal e-mail address>
wrote:
=09
=09

        Kirk --
    =09
        The *only* thing that happens between End PreRender and
Begin SaveViewState is building up and rendering the tree for the Trace
feature. So you are measuring the cost of your perf testing :) Trace
is at best an approximate means of measuring performance. =20
    =09
        Our perf guru, Fabio Yeon, wrote a whitepaper about
performance and ASP.NET, including a bit about testing methodology. You
can check it out at:
http://www.gotdotnet.com/team/asp/asp.net%20performance%20tips%20and%20t
ricks.aspx.
    =09
        hth,
        Susan
    =09

            -----Original Message-----
            From: Kirk Marple
[mailto:Click here to reveal e-mail address]=20
            Sent: Friday, January 18, 2002 2:48 AM
            To: aspngspeed
            Subject: [aspngspeed] Page tuning: what happens
between PreRender and SaveViewState?
        =09
            i was doing some server control perf testing -
specifically seeing how much slower <asp:Label> rendering is vs. writing
out the <span> tag myself.
        =09
            when using trace.axd for app level tracing, i'm
seeing 50% or more of the page request time occurring between aspx.page:
End PreRender and aspx.page: Begin SaveViewState.
        =09
            what's happening between these two states? it
seems to be proportional to the render time of the page. =20
        =09
            (the page being rendered contains a DataList
with 3000 rows, each of which has either an <asp:Label> tag in it, or a
<span> tag. this is just a perf test, not a page with live data.)
        =09
            thanks for any info!
            Kirk
        =09
            ----------------------------------
            Kirk Marple
            CTO, VP of Engineering
            Streaming Media Technologies, Inc.
            800 5th Ave, Suite 101-358
            Seattle, WA 98104
            c: 206.251.4820
            e: Click here to reveal e-mail address
            w: http://www.streamingmediatech.com
        =09
        =09
        =09
        =09
        =09
            Sent using the Entourage X Test Drive.
            | [aspngspeed] member Click here to reveal e-mail address =3D
YOUR ID
            |
http://www.asplists.com/asplists/aspngspeed.asp =3D JOIN/QUIT
            | http://www.asplists.com/search =3D SEARCH
Archives
        =09

    =09
    =09
_____ =20

        | [aspngspeed] member Click here to reveal e-mail address =3D YOUR
ID
        | http://www.asplists.com/asplists/aspngspeed.asp =3D
JOIN/QUIT
        | http://www.asplists.com/search =3D SEARCH Archives
    =09
    =09
    =09

=09
=09
    ----------------------------------
    Kirk Marple
    CTO, VP of Engineering
    Streaming Media Technologies, Inc.
    800 5th Ave, Suite 101-358
    Seattle, WA 98104
    c: 206.251.4820
    e: Click here to reveal e-mail address
    w: http://www.streamingmediatech.com
=09
=09
=09
=09
=09

    Sent using the Entourage X Test Drive.

    | [aspngspeed] member Click here to reveal e-mail address =3D YOUR ID
    | http://www.asplists.com/asplists/aspngspeed.asp =3D JOIN/QUIT
    | http://www.asplists.com/search =3D SEARCH Archives
=09

------_=_NextPart_001_01C1A05E.6CDA124B
Content-Type: text/html;
    charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D292402520-18012002><FONT face=3DArial color=3D#0000ff =
size=3D2>We're=20
definitely in a Tahiti state of mind :)</FONT></SPAN></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> Kirk =
Marple=20
[mailto:Click here to reveal e-mail address] <BR><B>Sent:</B> Friday, January =
18, 2002=20
10:05 AM<BR><B>To:</B> aspngspeed<BR><B>Subject:</B> [aspngspeed] RE: =
Page=20
tuning: what happens between PreRender and=20
SaveViewState?<BR><BR></FONT></DIV><FONT face=3DVerdana>ah, that's =
kinda=20
funny... now that makes more sense.<BR><BR>thanks for the quick =
response,=20
Susan!<BR><BR>gee, i thought the ASP.NET team would all be in Tahiti =
right=20
now... ;)<BR><BR>On 1/18/02 7:14 AM, "Susan Warren"=20
<Click here to reveal e-mail address> wrote:<BR><BR></FONT>
<BLOCKQUOTE><FONT color=3D#800080><FONT size=3D2><FONT =
face=3DArial>Kirk=20
--<BR></FONT></FONT></FONT><FONT face=3DVerdana><BR></FONT><FONT=20
color=3D#800080><FONT size=3D2><FONT face=3DArial>The *only* thing =
that happens=20
between End PreRender and Begin SaveViewState is building up and =
rendering=20
the tree for the Trace feature.  So you are measuring the cost =
of your=20
perf testing :)  Trace is at best an approximate means of =
measuring=20
performance.  <BR></FONT></FONT></FONT><FONT=20
face=3DVerdana><BR></FONT><FONT color=3D#800080><FONT size=3D2><FONT =

face=3DArial>Our perf guru, Fabio Yeon, wrote a whitepaper about =
performance=20
and ASP.NET, including a bit about testing methodology.  You =
can check=20
it out at:=20
=
http://www.gotdotnet.com/team/asp/asp.net%20performance%20tips%20and%20tr=
icks.aspx.<BR></FONT></FONT></FONT><FONT=20
face=3DVerdana><BR></FONT><FONT color=3D#800080><FONT size=3D2><FONT =

face=3DArial>hth,<BR>Susan<BR></FONT></FONT></FONT>
<BLOCKQUOTE><FONT size=3D2><FONT face=3DTahoma>-----Original=20
Message-----<BR><B>From:</B> Kirk Marple=20
[mailto:Click here to reveal e-mail address] <BR><B>Sent:</B> Friday, =
January 18,=20
2002 2:48 AM<BR><B>To:</B> aspngspeed<BR><B>Subject:</B> =
[aspngspeed] Page=20
tuning: what happens between PreRender and=20
SaveViewState?<BR><BR></FONT></FONT><FONT face=3DVerdana>i was =
doing some=20
server control perf testing - specifically seeing how much slower=20
<asp:Label> rendering is vs. writing out the <span> =
tag=20
myself.<BR><BR>when using trace.axd for app level tracing, i'm =
seeing 50%=20
or more of the page request time occurring between aspx.page: =
<B>End=20
PreRender</B> and aspx.page: <B>Begin =
SaveViewState</B>.<BR><BR>what's=20
happening between these two states?  it seems to be =
proportional to=20
the render time of the page.  <BR><BR>(the page being =
rendered=20
contains a DataList with 3000 rows, each of which has either an=20
<asp:Label> tag in it, or a <span> tag.  this is =
just a=20
perf test, not a page with live data.)<BR><BR>thanks for any=20
info!<BR>Kirk<BR><BR>----------------------------------<BR>Kirk=20
Marple<BR>CTO, VP of Engineering<BR>Streaming Media Technologies,=20
Inc.<BR>800 5th Ave, Suite 101-358<BR>Seattle, WA 98104<BR>c:=20
206.251.4820<BR>e: Click here to reveal e-mail address<BR>w:=20
http://www.streamingmediatech.com<BR><BR><BR><BR><BR><BR>Sent =
using the=20
Entourage X Test Drive.<BR>| [aspngspeed] member =
Click here to reveal e-mail address =3D=20
YOUR ID<BR>| http://www.asplists.com/asplists/aspngspeed.asp =3D=20
JOIN/QUIT<BR>| http://www.asplists.com/search =3D SEARCH=20
Archives<BR></FONT></BLOCKQUOTE><FONT face=3DVerdana><BR>
<HR align=3Dcenter width=3D"95%" SIZE=3D3>
</FONT><FONT face=3DMonaco><TT>| [aspngspeed] member=20
Click here to reveal e-mail address =3D YOUR ID<BR>|=20
http://www.asplists.com/asplists/aspngspeed.asp =3D JOIN/QUIT<BR>|=20
http://www.asplists.com/search =3D SEARCH=20
Archives<BR><BR><BR></TT></FONT></BLOCKQUOTE><FONT=20
face=3DMonaco><TT><BR></TT></FONT><FONT=20
face=3DVerdana><BR>----------------------------------<BR>Kirk =
Marple<BR>CTO, VP=20
of Engineering<BR>Streaming Media Technologies, Inc.<BR>800 5th Ave, =
Suite=20
101-358<BR>Seattle, WA 98104<BR>c: 206.251.4820<BR>e:=20
Click here to reveal e-mail address<BR>w:=20
http://www.streamingmediatech.com<BR><BR><BR></FONT><BR><BR>
<P>Sent using the Entourage X Test Drive.</P>| [aspngspeed] member=20
Click here to reveal e-mail address =3D YOUR ID<BR>|=20
http://www.asplists.com/asplists/aspngspeed.asp =3D JOIN/QUIT<BR>|=20
http://www.asplists.com/search =3D SEARCH =
Archives<BR></BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C1A05E.6CDA124B--

--------------InterScan_NT_MIME_Boundary--

Reply to this message...
 
 
System.Web.UI.WebControls.DataList




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification