Hi
as a feature suggestion, I would like to be able to measure the time to interactivity for a specific are of the code.
The ultimate goal of the automation of WPT monitoring is to know how much time there is between the page starts to load and the moment the user can use the main functionality of the page (say start to read the article, press the “play” of the video and so on).
Obviously WPT can not guess it, and what is closer of that today is to look at the screenshots and know by heart the interface of the site to guess when the UI of a specific page module is really usable.
That would be better to have it appear in the waterfall and have numbers to monitor.
Could we have a dialog between the page and WPT ?
There is something already in the scripting ( https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting#TOC-waitForJSDone )
window.webpagetest.done();
But that stops all measurement, so it can be used only once.
We could have something like
window.webpagetest.markTimer('feature1');
and feature1 would appear both in the waterfall and in the results API, for monitoring
Do you think it’s possible ?