Skip to main content

LatencySummary

@forge/monorepo


@forge/monorepo / backend/src / LatencySummary

Type Alias: LatencySummary

LatencySummary = object

Defined in: backend/src/loadtest/metrics.ts:21

A latency summary.

Percentiles, and max, and no mean. A mean latency is the number that hides the problem: a p99 of eight seconds behind a mean of 200ms is the normal shape of a system that is failing for one user in a hundred, and the mean says everything is fine. count travels with them because a p99 over 40 samples is four data points and should not be quoted as though it were a property of the system.

Properties

count

readonly count: number

Defined in: backend/src/loadtest/metrics.ts:22


max

readonly max: number

Defined in: backend/src/loadtest/metrics.ts:26


p50

readonly p50: number

Defined in: backend/src/loadtest/metrics.ts:23


p95

readonly p95: number

Defined in: backend/src/loadtest/metrics.ts:24


p99

readonly p99: number

Defined in: backend/src/loadtest/metrics.ts:25