Skip to main content

Module performance_timeline

Module performance_timeline 

Source
Expand description

Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.

Types, command parameters and event payloads for the PerformanceTimeline domain. The method-name constants for the same domain are in crate::methods.

This domain is experimental and may change without notice.

Structsยง

EnableParams
Previously buffered events would be reported before method returns. See also: timelineEventAdded
LargestContentfulPaint
See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl
LayoutShift
See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl
LayoutShiftAttribution
TimelineEvent
TimelineEventAddedEvent
Sent when a performance timeline event is added. See reportPerformanceTimeline method.