Schema:LayoutJank

PHP logging

EventLogging::logEvent( 'LayoutJank', 18935150, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"LayoutJank": 18935150
			}
		}
	}
}

JavaScript logging

mw.track( 'event.LayoutJank', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18935150
description"Holds the layout jank fractions captured by the NavigationTiming extension"
properties
pageviewToken
description"Token unique to current page's JS execution context. Used to link to NavTiming data."
type"string"
fraction
description"The layout jank fraction: the fraction of the viewport that is occupied by the geometric union of the previous-frame and current-frame visual representations of all janking elements in that frame.."
type"number"