Skip to content

Commit

Permalink
lib: remove p75 and p99
Browse files Browse the repository at this point in the history
It doesn't make much sense for microbenchmarks as we
already shows min and max
  • Loading branch information
RafaelGSS committed Dec 5, 2024
1 parent 6167b55 commit eedf6d7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lib/reporter/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,9 @@ function textReport(results) {
}

process.stdout.write('min..max=(');
process.stdout.write(timer.format(result.histogram.min));
process.stdout.write(' ... ');
process.stdout.write(timer.format(result.histogram.max));
process.stdout.write(') p75=');
process.stdout.write(timer.format(result.histogram.percentile(75)));
process.stdout.write(' p99=');
process.stdout.write(timer.format(result.histogram.percentile(99)));
process.stdout.write(styleText('green', timer.format(result.histogram.min)));
process.stdout.write(styleText('dim', '...'));
process.stdout.write(styleText('red', `${timer.format(result.histogram.max)})`));
process.stdout.write('\n');
}
}
Expand Down

0 comments on commit eedf6d7

Please sign in to comment.