MCPcopy Create free account
hub / github.com/BuilderIO/framework-benchmarks / getTable

Function getTable

src/scripts/measure-flow.ts:72–86  ·  view source on GitHub ↗
(reports: LH.FlowResult[])

Source from the content-addressed store, hash-verified

70}
71
72function getTable(reports: LH.FlowResult[]) {
73 const table = reports
74 .map((report) => {
75 const inpAudit = getInp(report);
76 return {
77 name: report.name,
78 INP: inpAudit.displayValue,
79 inpNumber: inpAudit.numericValue,
80 };
81 })
82 .sort(sortBy('inpNumber'))
83 .map((item) => omit(item, ['inpNumber']));
84
85 return table;
86}
87
88// Ignore the SSR-only examples
89const IGNORE_FRAMEWORKS = ['react-ssr-node', 'react-ssr-bun', 'react-ssr-deno'];

Callers 1

measure-flow.tsFile · 0.70

Calls 3

getInpFunction · 0.70
omitFunction · 0.70
sortByFunction · 0.50

Tested by

no test coverage detected