question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Land experimental responsiveness metric in user flows

See original GitHub issue

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:

  • add the high-percentile responsiveness metric for timespans - #13917
  • add a metric N/A state (that may not be notApplicable) in the report perf category renderer for when there was no user input in the trace - #13981
  • add an interactions audit for debugging responsiveness, e.g. here are the keypresses with the slowest response, here’s the breakdown of what was blocking the response (time in script, layout, paint, etc) - #13982
  • Add relevantAudits? Would be similar to TBT’s relevantAudits - #13982
  • add to navigations if interactions present in the trace, but as a diagnostic audit, not a metric
  • timespans don’t yet support simulated throttling, but navigations do. Investigate if simple CPU multipliers are enough to get simulated numbers or if more sophisticated lantern simulations are needed
  • yarn update:flow-sample-json --rebaseline-artifacts Trace to update the sample flow trace for the new EventTiming trace events (see https://github.com/GoogleChrome/lighthouse/pull/13979#discussion_r868407873)

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
adamrainecommented, Apr 26, 2022

Would that be possible?

It should be possible as part of #13898

0reactions
brendankennycommented, Apr 27, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Interaction to Next Paint (INP) - web.dev
... (INP) is an experimental metric that assesses responsiveness. When an interaction causes a page to become unresponsive, that is a poor user...
Read more >
How INP measures responsiveness | Google's New Core Web ...
Responsiveness is measured by Visual Feedback. Visual feedback is what tells us that “when a user clicks on a product” then that product...
Read more >
Measuring Ad Effectiveness Using Geo Experiments
The results of an experiment come in the form of return on ad spend (ROAS), which is the incremental impact that the ad...
Read more >
US11288162B2 - Optimizing interaction flows - Google Patents
Using one or more target metrics, the experimental interaction flows can be ... User interaction platforms, such as interactive voice response (IVR) systems ......
Read more >
Diluted Treatment Effect Estimation for Trigger Analysis in ...
In online controlled experiment, we typically use standard ... that the metric satisfies the additivity property. 3.3 Ratio Metrics.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found