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

Land experimental responsiveness metric in user flows #13916

Open
4 of 7 tasks
Tracked by #13972
brendankenny opened this issue Apr 26, 2022 · 7 comments
Open
4 of 7 tasks
Tracked by #13972

Land experimental responsiveness metric in user flows #13916

brendankenny opened this issue Apr 26, 2022 · 7 comments
Assignees
Labels

Comments

@brendankenny
Copy link
Member

brendankenny commented Apr 26, 2022

The new responsiveness metric has mostly settled and so we want to include support for it in situations where there can be (real or automated) user input.

The steps foreseen:

@adamraine
Copy link
Member

add a metric N/A state (that's not notApplicable) in the report perf category renderer for when there was no user input in the trace

What's wrong with using notApplicable? Seems like the perfect state for the audit to be in if there was no input.

@BioPhoton
Copy link

I am extremely hyped about it! Just today I mentioned it to @adamraine.

What you should definitely consider is adding this metric to berformance budgets.

Would that be possible?

@adamraine
Copy link
Member

Would that be possible?

It should be possible as part of #13898

@BioPhoton
Copy link

Bright future! 🌞

@brendankenny
Copy link
Member Author

add a metric N/A state (that's not notApplicable) in the report perf category renderer for when there was no user input in the trace

What's wrong with using notApplicable? Seems like the perfect state for the audit to be in if there was no input.

Yeah, I overstated the decision there. Semantically there's definitely an argument there; the biggest drawback is it closes the door to using n/a for what we do for audits everywhere else in the report (remove it from the report), which is yet another special case for metrics/perf category. It still might be the best choice vs signaling within metric details or whatever.

@adamraine
Copy link
Member

the biggest drawback is it closes the door to using n/a for what we do for audits everywhere else in the report (remove it from the report)

We don't remove metrics if they are N/A though. This is what a N/A metric looks like right now:

Screen Shot 2022-04-27 at 1 30 04 PM

It seems like we are missing a proper N/A state for metrics, and this would be a good opportunity to fill that void.

@brendankenny
Copy link
Member Author

We don't remove metrics if they are N/A though

yes, but only because there's never been a notApplicable metric before and the display code is valueEl.textContent = audit.result.displayValue || ''. There was not a plan here :)

I think the argument is convincing, I just want to make sure to explore the options because it does remove basically the only way we have for an audit to remove itself from the report. If that's something we ever want to do for metrics, we'll either have to change this again (which may not be possible) or add yet another mechanism to do so.

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

No branches or pull requests

5 participants