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 14, 2024
1 parent fbc9e3b commit 2510c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/plugin/commands/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function formatValue( metric, value ) {
function printStats( m, s ) {
const pp = fixed( ( 100 * ( s.q75 - s.q50 ) ) / s.q50 );
const mp = fixed( ( 100 * ( s.q50 - s.q25 ) ) / s.q50 );
return `${ formatValue( m, s.q50 ) } ms (±${ pp }/${ mp }%)`;
return `${ formatValue( m, s.q50 ) } +${ pp }% -${ mp }% (${ s.cnt })`;
}

/**
Expand Down

0 comments on commit 2510c52

Please sign in to comment.