473,327 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Get Page Size and Execution Time - How?

mid
Hello!
Some sites have information about page rendered size and render time. I
could not find anything about this for asp.net pages. I would like to get
this data (option in web.config or something) in order to evaluate
performance issues.
Any samples or directions?
thanks
mid
Nov 19 '05 #1
3 1402
"mid" <mi*********@midbarnospam.org> wrote in message
news:1c****************@midbarnospam.org...
Hello!
Some sites have information about page rendered size and render time. I
could not find anything about this for asp.net pages. I would like to get
this data (option in web.config or something) in order to evaluate
performance issues.


A simple way would be to turn on page tracing, though you'll probably find
this to be overkill.

John Saunders
Nov 19 '05 #2
mid
Thanks John, I'm aware of page tracing but on a production page that would
no be a good idea...
I would like to have kind of a user control. I search the vs.net help files
trying to find examples of wrapping the tracing options into some variables
but no luck.
Thanks
mid

On Tue, 14 Dec 2004 13:04:23 -0500, John Saunders wrote:
"mid" <mi*********@midbarnospam.org> wrote in message
news:1c****************@midbarnospam.org...
Hello!
Some sites have information about page rendered size and render time. I
could not find anything about this for asp.net pages. I would like to get
this data (option in web.config or something) in order to evaluate
performance issues.


A simple way would be to turn on page tracing, though you'll probably find
this to be overkill.

John Saunders

Nov 19 '05 #3
"mid" <mi*********@midbarnospam.org> wrote in message
news:1v***************@midbarnospam.org...
Thanks John, I'm aware of page tracing but on a production page that would
no be a good idea...
I would like to have kind of a user control. I search the vs.net help
files
trying to find examples of wrapping the tracing options into some
variables
but no luck.


Look into the BeginRequest and EndRequest events in global.asax for the
timing. As to the page size, there's some ability to change which stream (or
textwriter) a page writes to. You could have it write to a StringWriter,
then check the size, then send the output to the original stream.

I don't recall the details of this, but look at the properties of the Page
class, including perhaps thing inherited from TemplateControl and Control.

John Saunders

P.S. And when you find out, be sure to tell us here!
Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
24
by: simon | last post by:
Hi, First some background. I have a structure, struct sFileData { char*sSomeString1; char*sSomeString2;
6
by: grunes | last post by:
I wish to fread a few thousand bytes at a time in turn from several very large files from a DVD data disk, under Redhat Fedora Linux. When this is done the DVD drive wastes a lot of time and...
7
by: arkobose | last post by:
hey everyone! i have this little problem. consider the following declaration: char *array = {"wilson", "string of any size", "etc", "input"}; this is a common data structure used to store...
4
by: George Birbilis | last post by:
http://www.support.microsoft.com/default.aspx?scid=kb;EN;q273482 the above speaks for ASP and IIS4, but is it true for the IIS version that comes with Win2000 and with ASP.net? that is, cause...
1
by: Sorin Sandu | last post by:
I have a simple page with a grid on it based on a stored procedure Sometimes I get this error : Request timed out. Description: An unhandled exception occurred during the execution of the current...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
3
by: against.inex | last post by:
Hi, The following code snippet when compiled using gcc 3.3.5 creates an executable which is 6.9 KB in size. int main(){ int arr={0}; long arr2={0}; double arr3={0}; }
15
by: wizofaus | last post by:
I have a chunk of code which is essentially IDbCommand cmd = db.CreateCommand(); cmd.CommandText = "SELECT X, Y, Count(*) FROM Foo WHERE Z = 1 GROUP BY X, Y"; using (IDataReader reader =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.