Enable the Layout Jank API in WPT agents and surface data in HARs
See original GitHub issueThe 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:
- Created 4 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes there is a trace event called FrameLayoutJank.
https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/layout/jank_tracker.cc?q=TRACE_EVENT
Done. Try it out on WPT after an hour (so they can update) to make sure it is working as expected.