Add debug logging for 95th percentile calculation

This commit is contained in:
2026-01-25 19:53:38 -05:00
parent b71dc92026
commit 5e8c6f583a

View File

@@ -1808,6 +1808,13 @@
}
const p95Data = Array(downloadData.length).fill(p95Value);
console.log('95th Percentile calculation:', {
combinedTraffic: combinedTraffic,
sortedTraffic: sortedTraffic,
p95Value: p95Value,
p95DataLength: p95Data.length
});
// Create a local formatRate function that's guaranteed to be in scope
const formatRateForChart = (bytesPerSec) => {
if (typeof bytesPerSec !== 'number' || isNaN(bytesPerSec)) {