The PerformanceObserver
is used to observe performance events and receive notifications when Lynx Engine generates performance entries.
It must be created through lynx.performance.createObserver()
and bind with a callback function for handling received performance entries upon creation.
Specify a set of performance entry types to observe and start observing.
PerformanceObserver.disconnect()
Stop receiving performance entries.
The following example creates a PerformanceObserver
watching for metric.fcp
and pipeline
entries.
LCD tables only load in the browser