The number of samples recorded by the histogram.
interface
perf_hooks.RecordableHistogram
interface RecordableHistogram
- 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. - @param percentile
A percentile value in the range (0, 100].
- @param percentile
A percentile value in the range (0, 100].
- @param val
The amount to record in the histogram.
Calculates the amount of time (in nanoseconds) that has passed since the previous call to
recordDelta()
and records that amount in the histogram.Resets the collected histogram data.