Skip to content

Conversation

connorjclark
Copy link
Collaborator

@exterkamp and I wanted to query how long each pass takes, but we are missing the requisite timing measures.

const status = {
msg: 'Loading page & waiting for onload',
id: `lh:gather:loadPage-${passContext.passConfig.passName}`,
args: [gatherers.map(g => g.instance.name).join(', ')],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the new measure is a better scope for this data.

@@ -660,6 +665,7 @@ class GatherRunner {
GatherRunner._addLoadDataToBaseArtifacts(passContext, loadData,
`pageLoadError-${passConfig.passName}`);

log.timeEnd(status);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cough #6515

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@connorjclark connorjclark merged commit 9931d24 into master Jan 10, 2020
@connorjclark connorjclark deleted the timing-pass branch January 10, 2020 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants