deno.com

interface Histogram

Properties #

#count: number
readonly

The number of samples recorded by the histogram.

#countBigInt: bigint
readonly

The number of samples recorded by the histogram. v17.4.0, v16.14.0

#exceeds: number
readonly

The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.

#exceedsBigInt: bigint
readonly

The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.

#max: number
readonly

The maximum recorded event loop delay.

#maxBigInt: number
readonly

The maximum recorded event loop delay. v17.4.0, v16.14.0

#mean: number
readonly

The mean of the recorded event loop delays.

#min: number
readonly

The minimum recorded event loop delay.

#minBigInt: bigint
readonly

The minimum recorded event loop delay. v17.4.0, v16.14.0

#percentiles: Map<number, number>
readonly

Returns a Map object detailing the accumulated percentile distribution.

#percentilesBigInt: Map<bigint, bigint>
readonly

Returns a Map object detailing the accumulated percentile distribution.

#stddev: number
readonly

The standard deviation of the recorded event loop delays.

Methods #

#percentile(percentile: number): number

Returns the value at the given percentile.

#percentileBigInt(percentile: number): bigint

Returns the value at the given percentile.

#reset(): void

Resets the collected histogram data.