Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration for getting Interactive metrics in the result? #103

Closed
soulgalore opened this issue Apr 20, 2018 · 1 comment
Closed

Configuration for getting Interactive metrics in the result? #103

soulgalore opened this issue Apr 20, 2018 · 1 comment

Comments

@soulgalore
Copy link
Contributor

Hi Pat,
what is needed to get the different interactive metrics as described in https://github.com/WPO-Foundation/webpagetest/blob/master/docs/Metrics/TimeToInteractive.md ?

Today we have enable_agent_processing=1 but maybe we need something more?

Right now we only get LastInteractive in the JSON that we use, but we miss the others. Some time ago I know it worked for us getting FirstInteractive,TimeToInteractive,LastInteractive but maybe the names/configuration has changed?

In the result HTML page we have the First Interactive metric:
http://wpt.wmftest.org/result/180420_NN_H0/

But in the result we only have LastInteractive:
http://wpt.wmftest.org/xmlResult/180420_NN_H0/

Or is it the iteractive periods that should be used?

Best
Peter

@pmeenan
Copy link
Contributor

pmeenan commented Apr 20, 2018

The main thing that is needed is for timeline capture to be enabled (timeline=1) so it can see the main thread activity. For Firefox and Edge it should be available even without timelines (uses RAF to check for main thread responsiveness).

As far as what is displayed in the UI, if the actual FirstInteractive wasn't available because there wasn't 5 seconds of idle in the test the UI falls back to using the lastInteractive time and putting a > in front of it. BAsically, if the page continued to remain idle that would have been the First Interactive time and it wouldn't be any earlier.

Agent processing should largely happen regardless of the flag with wptagent (it is mostly for wptdriver which didn't originally ship with python to do the processing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants