Current time: 05-25-2018, 05:32 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Does WPT Determine when a page is Done Visually
06-16-2015, 06:31 AM (This post was last modified: 06-16-2015 06:57 AM by sresant.)
Post: #1
How Does WPT Determine when a page is Done Visually
I read into the documentation of SpeedIndex and how visual completeness is measured. My question is how does WPT know if the page is visually complete without anymore changes to come?
Find all posts by this user
Quote this message in a reply
06-17-2015, 05:21 AM
Post: #2
RE: How Does WPT Determine when a page is Done Visually
It just uses the state of the page at the end of the test you are running and considers that the end state. The description in the SpeedIndex docs are intentionally vague because it doesn't apply just to WebPageTest page load tests and could in theory be used for arbitrary videos.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-24-2015, 02:38 AM
Post: #3
RE: How Does WPT Determine when a page is Done Visually
(06-17-2015 05:21 AM)pmeenan Wrote:  It just uses the state of the page at the end of the test you are running and considers that the end state. The description in the SpeedIndex docs are intentionally vague because it doesn't apply just to WebPageTest page load tests and could in theory be used for arbitrary videos.

As a follow up question, how does it determine the page is at its end state?
Find all posts by this user
Quote this message in a reply
06-24-2015, 02:57 AM
Post: #4
RE: How Does WPT Determine when a page is Done Visually
Under normal conditions: after the onload event fires for the page, it waits for there to be 2 seconds of no network activity.

You can also change it to stop at the onload event if you check the option in the advanced settings.

There are also other settings that can cause it to wait longer (minimum test duration, waiting for a specific request, etc).
Visit this user's website Find all posts by this user
Quote this message in a reply
06-25-2015, 09:44 AM
Post: #5
RE: How Does WPT Determine when a page is Done Visually
(06-24-2015 02:57 AM)pmeenan Wrote:  Under normal conditions: after the onload event fires for the page, it waits for there to be 2 seconds of no network activity.

You can also change it to stop at the onload event if you check the option in the advanced settings.

There are also other settings that can cause it to wait longer (minimum test duration, waiting for a specific request, etc).

I see, thank you!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)