Metric
import type { Metric } from "https://googleapis.deno.dev/v1/chromeuxreport:v1.ts";
A metric
is a set of user experience data for a single web performance
metric, like "first contentful paint". It contains a summary histogram of
real world Chrome usage as a series of bins
.
interface Metric {
fractions?: {};
[key: string]: number;
histogram?: Bin[];
percentiles?: Percentiles;
}§Properties
§
fractions?: {}
[src][key: string]: number;
For enum metrics, provides fractions which add up to approximately 1.0.
§
percentiles?: Percentiles
[src]Commonly useful percentiles of the Metric. The value type for the percentiles will be the same as the value types given for the Histogram bins.