I know Time To Interactive is becoming an important metric, but having a hard time figuring out if this is calculated by WebPageTest or not?
I see the documentation here, but that seems more of a lesson than an explanation for WPT
This thread implies it is being calculated (assuming domInteractive?), yet this thread gives me the impression it’s something we need to calculate on our own?
Is it domInteractive or something that’s not built in??
and look for TTIMeasurementEnd, LastInteractive or interactivePeriods.
Depending on a factor I did not understood, the TimeToInteractive sometimes is calculated by Webpagetest, and sometimes not.
When it’s not the case, calculate it from the interactivePeriods keys
FYI rather than just use the TTI alone, I prefer to also look at the horizontal bar Page is Interactive to see the points at which the page is interactive or not. This can provide valuable insight as to the periods of time it is interactive or not.
The thread you reference was intended to clarify the misconceptions on the use of DomInteractive as a way to measure when the page is actually interactive.
Thank you so much - enabling Chrome Dev Tools Timeline was the key that I needed.
Okay now I see the extra data, but still a little confused on which one is ‘TTI’? The UI reports a value for ‘First Interactive (beta)’, yet in the raw response that value used is ‘LastInteractive’. Why would the UI be labeling Last Interactive as First Interactive?
The documentation discusses “Time to Consistently Interactive” vs “Time to First Interactive”, but doesn’t specify which of those is indicated in the raw data.
Update - I ran some more tests, and noticed FirstInteractive, LastInteractive, and TimeToInteractive in the raw data. Looked at the code in github and the value of the ‘First Interactive (beta)’ is mapped to the ‘FirstInteractive’ value.
So I’m going to consider FirstInteractive as the TTI metric…someone correct me if I’m wrong