A Histogram that can record values.
See also:
Methods
Adds the values from other to this histogram.
Records val in the histogram.
| // TODO: allow BigInt when hxnodejs gains a BigInt type (Node accepts number | bigint). |
Calculates the amount of time (in nanoseconds) that has passed since the previous call
to recordDelta() and records that amount in the histogram.
Inherited Variables
The number of samples recorded by the histogram.
The number of samples recorded by the histogram (as a BigInt).
// TODO: type as BigInt when hxnodejs provides one.
The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.
The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold (as a BigInt).
The maximum recorded event loop delay.
The maximum recorded event loop delay (as a BigInt).
The mean of the recorded event loop delays.
The minimum recorded event loop delay.
The minimum recorded event loop delay (as a BigInt).
Returns a Map object detailing the accumulated percentile distribution.
Returns a Map object detailing the accumulated percentile distribution (BigInt keys/values).
// TODO: type as Map when hxnodejs provides BigInt.
The standard deviation of the recorded event loop delays.
Inherited Methods
Returns the value at the given percentile.
Parameters:
percentile | A percentile value in the range (0, 100]. |
|---|
Returns the value at the given percentile (as a BigInt).
Parameters:
percentile | A percentile value in the range (0, 100]. |
|---|
Resets the collected histogram data.