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.

Enable the Layout Jank API in WPT agents and surface data in HARs

See original GitHub issue

The goal is to improve our telemetry of web pages’ layout stability. There’s an experimental API (in origin trial and behind a flag) that surfaces the % of the viewport that changes (aka “janks”) due to layout changes.

Per https://github.com/GoogleChrome/OriginTrials/issues/53#issuecomment-488367187 we can pass --enable-blink-features=LayoutInstabilityAPI on the command line to enable it.

Not sure what else we need to do to get the output in the HAR files. @pmeenan will it automatically appear in the BlinkFeatures object? We might also want to consider a custom metric to aggregate the data, as the output might be noisy.

  • enable the API in WPT
  • add a custom metric to WPT to calculate CLS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
skobescommented, May 1, 2019
1reaction
pmeenancommented, Jul 31, 2019

Done. Try it out on WPT after an hour (so they can update) to make sure it is working as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enabling an origin trial in WebPageTest · Issue #53 - GitHub
Is it possible to enable an origin trial in a lab tool like ... Enable the Layout Jank API in WPT agents and...
Read more >
wsT - River Thames Conditions - Environment Agency - GOV.UK
Coffee code barista, Bhinneka themeforest, Equivalenze litri scala, Weekly menu plan weight watchers, Knights of valor 3 hd, Vorderdarm insekten, ...
Read more >
modules/libpref/init/StaticPrefList.yaml ... - mozilla-central
In those cases the default # value from the data file will override the static ... name: dom.animations-api.autoremove.enabled type: bool value: true ...
Read more >
wGZ - EVOLVE - eduFOCUS
Lock de icer menards, Raiders talking to free agents! The clash 1977 revisited rar, Prize bond list rs 200 september 2014, Tasty coconut...
Read more >
Little Salmon River Total Maximum Daily Load Implementation Plan ...
Little Salmon River TMDL Implementation Plan for Agriculture, Forestry, ... projects with what some entities believe is limited water quality data.
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