Skip to content

Commit

Permalink
Format stats better
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed May 11, 2024
1 parent 2f4f6df commit 9eccd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/plugin/commands/performance.js
Expand Up @@ -127,7 +127,7 @@ function stats( values ) {
function printStats( s ) {
const pp = fixed( ( 100 * ( s.q75 - s.q50 ) ) / s.q50 );
const mp = fixed( ( 100 * ( s.q50 - s.q25 ) ) / s.q50 );
return `${ s.q50 } ms ${ pp }/${ mp }%)`;
return `${ s.q50 } ms +${ pp }%-${ mp }% (${ s.cnt })`;
}

/**
Expand Down

0 comments on commit 9eccd43

Please sign in to comment.