Skip to content

Commit

Permalink
Format some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
WunderBart committed Apr 12, 2023
1 parent 2638476 commit fd35da9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/plugin/commands/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ async function runPerformanceTests( refs, options ) {
// Formatting the results.
for ( const testSuite of testSuites ) {
logAction( `${ testSuite }\n` );

/** @type {Record<string, Record<string, string>>} */
const invertedResult = {};
Object.entries( results[ testSuite ] ).reduce(
Expand All @@ -561,6 +560,7 @@ async function runPerformanceTests( refs, options ) {
invertedResult
);
console.table( invertedResult );
logNewline();

const resultsFilename = testSuite + '.performance-results.json';
writeJSONFile(
Expand All @@ -569,7 +569,6 @@ async function runPerformanceTests( refs, options ) {
);
}

logNewline();
console.timeEnd( TIMERS.total );
logNewline();
}
Expand Down

0 comments on commit fd35da9

Please sign in to comment.