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

Function getTable

src/scripts/measure-navigation.ts:76–90  ·  view source on GitHub ↗
(reports: LH.FlowResult[])

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 3

getInpFunction · 0.70
omitFunction · 0.70
sortByFunction · 0.50

Tested by

no test coverage detected