diff --git a/scripts/print-performance-measures.js b/scripts/print-performance-measures.js index 2b611be01..24019b117 100755 --- a/scripts/print-performance-measures.js +++ b/scripts/print-performance-measures.js @@ -75,5 +75,13 @@ for (const [name, { duration, scripting, styling, blocking, longTasks, database, }; } +// Sort tests +const tests = Object.keys(performanceMeasures).sort(); +const sortedPerformanceMeasures = {}; + +for (const test of tests) { + sortedPerformanceMeasures[test] = performanceMeasures[test]; +} + // Display data -console.table(performanceMeasures); +console.table(sortedPerformanceMeasures);