Commit 1400822
committed
refactor(bench): remove max value and outliers analysis from latency stats
Removed the max value from latency statistics as it's unreliable in
microbenchmarks due to OS scheduler, context switches, cache misses,
and CPU frequency scaling. A single outlier provides no meaningful
information for performance analysis.
Changes:
- Removed 'Max' from statistics display
- Removed 'Outliers (max/p99 ratio)' analysis
- Fixed stddev formatting to use same format as other durations (ns/μs/ms)
- Kept only meaningful metrics: Min, p50, p95, p99, Stddev
Now shows:
Min: 285ns p50: 560ns p95: 820ns p99: 902ns Stddev: 283ns
Analysis:
- Consistency: 1.61x (excellent - very predictable)
- Variance: 50.7% (high - jittery)
p99 already tells you what 99% of operations are like, which is more
actionable than a single worst-case outlier.1 parent e6e64f3 commit 1400822
1 file changed
+2
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
595 | | - | |
| 594 | + | |
596 | 595 | | |
597 | 596 | | |
598 | 597 | | |
599 | 598 | | |
600 | 599 | | |
601 | | - | |
602 | 600 | | |
603 | 601 | | |
604 | 602 | | |
605 | 603 | | |
606 | | - | |
607 | 604 | | |
608 | 605 | | |
609 | 606 | | |
| |||
628 | 625 | | |
629 | 626 | | |
630 | 627 | | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | 628 | | |
642 | 629 | | |
643 | 630 | | |
| |||
0 commit comments