interface Histogram
Usage in Deno
import { type Histogram } from "node:perf_hooks";
readonly
percentiles: Map<number, number>
Returns a Map
object detailing the accumulated percentile distribution.
readonly
exceeds: number
The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.
readonly
min: number
The minimum recorded event loop delay.
readonly
max: number
The maximum recorded event loop delay.
readonly
mean: number
The mean of the recorded event loop delays.
readonly
stddev: number
The standard deviation of the recorded event loop delays.
reset(): void
Resets the collected histogram data.
percentile(percentile: number): number
Returns the value at the given percentile.