473,473 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to put timing code in around ViewState parsing

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
1 1406
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: m_j_mather | last post by:
Hi everyone, I'm neck deep in ASP.NET and sinking fast ;) Any help much appreciated. I have two user controls on a page that I want to communicate with each other. One control is called...
1
by: John | last post by:
Hi all, I have a problem with viewstate being maintained. I use LoadControl to load a user control and the data is sent down to the client correctly. However, when I change some data and post...
1
by: | last post by:
Hi guys! I am a beginner with aspx (i have some background with .asp). And i am trying tu use a 'code-behind' page in order to execute all transactions in that page and leave as clean as possible...
6
by: Frank | last post by:
Can someone please tell me when the ViewState is loaded? My understanding, based on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconControlExecutionLifecycle.asp...
239
by: Eigenvector | last post by:
My question is more generic, but it involves what I consider ANSI standard C and portability. I happen to be a system admin for multiple platforms and as such a lot of the applications that my...
3
by: Bart Van Hemelen | last post by:
I'm working on a project where the user of a site will receive custom content, depending on a set of parameters. The content will all be contained in UserControls (.ascx), that will be used as...
2
by: Steven D'Aprano | last post by:
The timeit module is ideal for measuring small code snippets; I want to measure large function objects. Because the timeit module takes the code snippet argument as a string, it is quite handy...
15
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
25
by: Jon Slaughter | last post by:
I have some code that loads up some php/html files and does a few things to them and ultimately returns an html file with some php code in it. I then pass that file onto the user by using echo. Of...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.