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

How to put timing code in around ViewState parsing

P: n/a
Hi all, I'm at my wit's end on trying to insert some timing code into the
server side code that parses the hashed data contained in the hidden field
being submitted to the server

I've tried placing timing code in all of the following:
Page_Load
OnInit
LoadViewState(object savedState)
object SaveViewState()

But none of them show timing values that are in any way consistent with the
amount of time being taken (i.e. somewhere in the area of a minute in some
instances). In all of the above the timing displayed is always under a
second or two.

Where is the major processing being done within the classes that extend
Page? I.E. which method should I place my timing code?

Thanks,
Novice

Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Have you simply tried turning trace="true" in the @Page directive and
looking at the profiling information it provides?

<%@ Page trace="true" .... %>

Karl

"Novice" <6tc1ATqlinkDOTqueensuDOTca> wrote in message
news:B7**********************************@microsof t.com...
Hi all, I'm at my wit's end on trying to insert some timing code into the
server side code that parses the hashed data contained in the hidden field
being submitted to the server

I've tried placing timing code in all of the following:
Page_Load
OnInit
LoadViewState(object savedState)
object SaveViewState()

But none of them show timing values that are in any way consistent with the amount of time being taken (i.e. somewhere in the area of a minute in some
instances). In all of the above the timing displayed is always under a
second or two.

Where is the major processing being done within the classes that extend
Page? I.E. which method should I place my timing code?

Thanks,
Novice

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.