(result)
| 199 | } |
| 200 | |
| 201 | function getSampleCount(result) { |
| 202 | const latency = getLatency(result) |
| 203 | return latency.samplesCount ?? latency.samples.length |
| 204 | } |
| 205 | |
| 206 | // Calculate metrics |
| 207 | const tsMean = getMean(tsResult.result) // Already in ms |
no test coverage detected