perf-observer-kit
Version:
A lightweight, flexible library for monitoring web performance metrics including Core Web Vitals, resource loading performance, long tasks, and navigation timing.
12 lines • 383 B
JavaScript
/**
* 指标类型枚举
*/
export var MetricType;
(function (MetricType) {
MetricType["WEB_VITALS"] = "coreWebVitals";
MetricType["RESOURCES"] = "resources";
MetricType["LONG_TASKS"] = "longTasks";
MetricType["NAVIGATION"] = "navigation";
MetricType["BROWSER_INFO"] = "browserInfo";
})(MetricType || (MetricType = {}));
//# sourceMappingURL=metric-types.js.map