PerformanceEntry
is a base interface used to describe the complete data of performance events. All performance events inherit from and extend it, commonly including container initialization, page loading, and rendering times.
All performance events are summarized in the figure below:
Represents a string indicating the type of PerformanceEntry
. The currently supported types are: init
, metric
, and pipeline
, with the following meanings:
init
: Records performance events for the initialization process before the Lynx page is displayed.metric
: Records performance metric events, such as FCP (First Contentful Paint), TTI (Time to Interactive), and ActualFMP (Actual First Meaningful Paint).pipeline
: Records performance events during the rendering process.The corresponding subclasses for each entryType value are shown in the table below.
entryType | subclasses |
---|---|
init | InitContainerEntry , InitLynxviewEntry , InitBackgroundRuntimeEntry |
metric | MetricFcpEntry , MetricActualfmpEntry |
pipeline | PipelineEntry , LoadBundleEntry |
A string representing the name of the PerformanceEntry
. The value depends on the specific type of the PerformanceEntry
object. The corresponding names for all subtypes are shown in the table below:
subclasses | name |
---|---|
InitContainerEntry | container |
InitLynxviewEntry | lynxview |
InitBackgroundRuntimeEntry | backgroundRuntime |
MetricFcpEntry | fcp |
MetricActualFmpEntry | actualFmp |
PipelineEntry | updateTriggeredByBts , updateTriggeredByNative , updateGlobalProps , setNativeProps |
LoadBundleEntry | loadBundle , reloadBundle , reloadFromBts |
LCD tables only load in the browser