473,378 Members | 1,106 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,378 software developers and data experts.

Check web page loading time

How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not
support frame. Since the documentcomplete event will trigger if the frame is
completed. So i don't know how to get the time for the whole document
complete.

Or beside the browser, any other method to do this.

Thank you.
Nov 21 '05 #1
3 2550
HK
How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not
support frame. Since the documentcomplete event will trigger if the frame is completed. So i don't know how to get the time for the whole document
complete.

Do you mean you made a complete new browser or did you use AXwebbrowser
AXSHDOCVW or use IE SHDOCVW

With AXwebbrowser it is a frame complete document.complete and the page
complete navigate2.complete

I hope this helps?

Cor
Nov 21 '05 #2
Cor,
I use the AXwebBrowser
That mean when the frame complete, it will trigger document complete.
But if the whole page complete (include all the frame and iframe), it will
trigger navigate2.complete?
Is that Right?


"Cor Ligthert" wrote:
HK
How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not
support frame. Since the documentcomplete event will trigger if the frame

is
completed. So i don't know how to get the time for the whole document
complete.

Do you mean you made a complete new browser or did you use AXwebbrowser
AXSHDOCVW or use IE SHDOCVW

With AXwebbrowser it is a frame complete document.complete and the page
complete navigate2.complete

I hope this helps?

Cor

Nov 21 '05 #3
HK,

I am quiet sure that the documentcomplete is a frame or when one complete
page as document a page.
http://msdn.microsoft.com/library/de...ntcomplete.asp

Because of the text I start doubting about the navigatecomlete2. And it is a
while ago I used it.
http://msdn.microsoft.com/library/de...ecomplete2.asp

This one you can use as well when there are some pages which are not written
as they should be.
http://msdn.microsoft.com/library/de...adcomplete.asp

I hope this helps?

Cor
That mean when the frame complete, it will trigger document complete.
But if the whole page complete (include all the frame and iframe), it will
trigger navigate2.complete?
Is that Right?


"Cor Ligthert" wrote:
HK
How to write a program that can check the web page loading time?

Before I have written a browser that use IE as the core, but it does not support frame. Since the documentcomplete event will trigger if the
frame is
completed. So i don't know how to get the time for the whole document
complete.

Do you mean you made a complete new browser or did you use AXwebbrowser
AXSHDOCVW or use IE SHDOCVW

With AXwebbrowser it is a frame complete document.complete and the page
complete navigate2.complete

I hope this helps?

Cor

Nov 21 '05 #4

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

Similar topics

4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
4
by: Scott Reynolds | last post by:
Hello! How I can calculate and display page loading/generation time? Thanks! Scott
3
by: Bala | last post by:
Hi, In my page there is 4 dropdown list boxes.when page loading that time i am loading the nearly 3000 items array. so its taking too much time to load. is it other way fill up the dropdown...
0
by: dallasfreeman | last post by:
I have a dynamic page in my program that loads survey questions with a text field for the question and up to 10 answer fields inside a panel, each question/answer has a check box to display the...
0
by: tony | last post by:
I am working on a PHP project and having a partial page loading problem randomly. The PHP module 4.4.0 is running on apache server 1.3.33, with database connection to oracle 10g. The problem...
1
by: kelvinweb | last post by:
Hi All, How to calculate web page loading time on client and send back result to server side ? Urgent ! Thanks alot !
0
by: AndySummers | last post by:
Hi We have just re-written a majour asp.net project to use a user control embedded in a web page. The main dll references 3 other custom controls and so to deploy the project I copy the 4 dll's to...
2
by: msch.prv | last post by:
I have been experimenting with VWD Express Extension 3.5 and noticed that quite often it takes up to 1..2 min to load external js or css files. This occurs often after rebuilding the site. The...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.