PerformanceMetric
Describes the type that includes the performance metric name, metric value, and start/end timestamps.
In Lynx, several metric types are provided, such as MetricFcpEntry and MetricActualFmpEntry. Each metric type contains multiple metrics based on different starting points (for example, MetricFcpEntry includes metrics like fcp, lynxFcp, and totalFcp). To better describe the duration and timestamps of each metric, the PerformanceMetric type is designed.
Attributes
name
The name of the metric, such as fcp, lynxFcp, totalFcp, etc.
duration
The metric value in milliseconds with a microsecond precision(0.001ms). An example value is 100.099.
The calculation formula is: duration = endTimestamp - startTimestamp.
startTimestampName
The name of the metric's start timestamp, such as loadBundleStart in LoadBundleEntry.
startTimestamp
The start timestamp of the metric, an Unix timestamp in milliseconds with a microsecond precision(0.001ms). An example value is 1739594612307.429.
endTimestampName
The name of the metric's end timestamp, such as paintEnd in LoadBundleEntry.
endTimestamp
The end timestamp of the metric, an Unix timestamp in milliseconds with a microsecond precision(0.001ms). An example value is 1739594612307.429.
Compatibility
LCD tables only load in the browser