WebPagetest Forums
How Does WPT Determine when a page is Done Visually - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: How Does WPT Determine when a page is Done Visually (/showthread.php?tid=13774)



How Does WPT Determine when a page is Done Visually - sresant - 06-16-2015 06:31 AM

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?


RE: How Does WPT Determine when a page is Done Visually - pmeenan - 06-17-2015 05:21 AM

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.


RE: How Does WPT Determine when a page is Done Visually - sresant - 06-24-2015 02:38 AM

(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?


RE: How Does WPT Determine when a page is Done Visually - pmeenan - 06-24-2015 02:57 AM

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).


RE: How Does WPT Determine when a page is Done Visually - sresant - 06-25-2015 09:44 AM

(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!