How to put timing code in around ViewState parsing

G

Guest

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
 
K

Karl

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

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

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top