median

The middle value when all observations are sorted: half are faster and half are slower.

In more detail

The median is the 50th percentile. For latency it describes a typical request well but says nothing about the slow tail, which is why it is rarely the most useful number on a latency chart.

Examples

statistics.median([72, 1040])  # 556.0
The median is not pulled around by a few extreme values the way a mean (average) is.

Related terms

Taught in

References

Certification courses