Skip to content

Commit eedf6d7

Browse files
committed
lib: remove p75 and p99
It doesn't make much sense for microbenchmarks as we already shows min and max
1 parent 6167b55 commit eedf6d7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

lib/reporter/text.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,9 @@ function textReport(results) {
3232
}
3333

3434
process.stdout.write('min..max=(');
35-
process.stdout.write(timer.format(result.histogram.min));
36-
process.stdout.write(' ... ');
37-
process.stdout.write(timer.format(result.histogram.max));
38-
process.stdout.write(') p75=');
39-
process.stdout.write(timer.format(result.histogram.percentile(75)));
40-
process.stdout.write(' p99=');
41-
process.stdout.write(timer.format(result.histogram.percentile(99)));
35+
process.stdout.write(styleText('green', timer.format(result.histogram.min)));
36+
process.stdout.write(styleText('dim', '...'));
37+
process.stdout.write(styleText('red', `${timer.format(result.histogram.max)})`));
4238
process.stdout.write('\n');
4339
}
4440
}

0 commit comments

Comments
 (0)