The number of samples recorded by the histogram.
interface
perf_hooks.IntervalHistogram
interface IntervalHistogram
- readonly exceeds: number
The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.
- readonly exceedsBigInt: bigint
The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.
- readonly percentiles: Map<number, number>
Returns a
Map
object detailing the accumulated percentile distribution. - readonly percentilesBigInt: Map<bigint, bigint>
Returns a
Map
object detailing the accumulated percentile distribution. Disables the update interval timer. Returns
true
if the timer was stopped,false
if it was already stopped.Enables the update interval timer. Returns
true
if the timer was started,false
if it was already started.- @param percentile
A percentile value in the range (0, 100].
- @param percentile
A percentile value in the range (0, 100].
Resets the collected histogram data.