Skip to content

Commit a1cc5c3

Browse files
committed
p95
1 parent a2cc051 commit a1cc5c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/performance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ async function measureOperation(name, operation, iterations = ITERATIONS) {
129129

130130
return {
131131
name,
132-
value: median, // Use median instead of mean for robustness
132+
value: p95, // Use p95 as primary metric (industry standard)
133133
unit: 'ms',
134134
range: `${min.toFixed(2)} - ${max.toFixed(2)}`,
135-
extra: `p95: ${p95.toFixed(2)}ms, p99: ${p99.toFixed(2)}ms, n=${filtered.length}/${times.length}`,
135+
extra: `median: ${median.toFixed(2)}ms, p99: ${p99.toFixed(2)}ms, n=${filtered.length}/${times.length}`,
136136
};
137137
}
138138

0 commit comments

Comments
 (0)