Results 1 to 2 of 2

Thread: Load and render time?

  1. #1
    Join Date
    Jan 2011
    Posts
    9
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Load and render time?

    Hi,
    I use the QT4.7.1,and I want to know the accurate download(equal to load?) time,DOM tree and render tree building time of a web page?
    As I know ,HTML and its subresource are loaded in parallel.I get the start time when emit the signal loadStarted() and end time when emit the signal loadFinished(bool).The time(end_time - start_time) here is the loading time including web page download time and DOM tree parse time?
    connect(this, SIGNAL(loadStarted()),
    this, SLOT(loadProgressBar()));
    connect(this, SIGNAL(loadStarted()),
    this, SLOT(loadLoadingIcon()));
    connect(this, SIGNAL(loadProgress(int)),
    this, SLOT(setProgress(int)));
    connect(this, SIGNAL(loadFinished(bool)),
    this, SLOT(loadFinished()));
    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Load and render time?

    So how is the result you obtain different from the one you want?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 5
    Last Post: 19th November 2010, 02:25
  2. How to load a Qwidget in groupBox at run time?
    By AviMittal in forum Qt Programming
    Replies: 8
    Last Post: 25th June 2009, 11:35
  3. Replies: 0
    Last Post: 6th March 2009, 08:19
  4. Load WebKit dll at run time
    By Lele in forum Qt Programming
    Replies: 2
    Last Post: 10th September 2008, 09:11
  5. Any ideas on determining cpu load in run-time?
    By a550ee in forum Qt Programming
    Replies: 3
    Last Post: 24th November 2006, 08:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.