UNPKG

perfrunner-reporters

Version:

Home of the perfrunner reporters

25 lines (24 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultReporterNames = exports.getReporterRegistry = void 0; const entries_chart_1 = require("./entries.chart"); const marks_chart_1 = require("./marks.chart"); const size_chart_1 = require("./size.chart"); const metrics_chart_1 = require("./metrics.chart"); const size_fcp_chart_1 = require("./size-fcp.chart"); const entries = new entries_chart_1.EntriesChartReporter(); const marks = new marks_chart_1.MarksChartReporter(); const metrics = new metrics_chart_1.MetricsChartReporter(); const resources = new size_chart_1.ResourceSizeChart(); const resourcesBeforeFcp = new size_fcp_chart_1.ResourceSizeBeforeFCPChart(); const getReporterRegistry = () => { return { [entries.name]: entries, [marks.name]: marks, [resources.name]: resources, [metrics.name]: metrics, [resourcesBeforeFcp.name]: resourcesBeforeFcp, }; }; exports.getReporterRegistry = getReporterRegistry; exports.defaultReporterNames = [marks.name, entries.name, metrics.name, resourcesBeforeFcp.name, resources.name];