Files
node/doc/api
James M Snell bfa3e982ec lib,src: improve histogram implementation
Several improvements:

1. In histogram-inl, Add previous locked only this->mutex while
   reading the other's fields unsafely.
2. In histogram.cc, PrepareCB now uses ContainerOf
3. In histogram.cc, BigInt value range is checked
4. In histogram.js, simplified impl and reduced duplication
5. In event_loop_delay.js, use a more consistent constructor

Adds new analytical APIs to Histogram

* histogram.ccdf(value)
* histogram.cdf(value)
* histogram.countAt(value)
* histogram.ksTest(other)
* histogram.kurtosis
* histogram.linearBuckets(stepSize)
* histogram.logBuckets(first, base)
* histogram.percentilesAt(percentiles)
* histogram.shewness

On RecordableHistogram

* histogram.recordCorrected(val, expectedInterval)
* histogram.subtract(other)

Signed-off-by: James M Snell <jasnell@gmail.com>
Assisted-by: Opencode/Opus
PR-URL: https://github.com/nodejs/node/pull/65024
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2026-08-12 07:41:57 -07:00
..
2026-08-06 13:17:12 +00:00
2026-08-05 17:33:08 +00:00
2026-08-09 19:06:22 -04:00
2026-08-01 06:15:08 +00:00
2026-07-18 10:18:51 +00:00
2026-08-03 11:44:23 +00:00
2026-08-07 05:19:08 +00:00
2026-08-04 14:01:33 +00:00
2026-08-05 18:21:40 +02:00
2026-05-23 18:43:31 +00:00
2025-12-16 20:31:28 +00:00
2026-07-13 12:34:05 +02:00
2026-08-03 11:44:23 +00:00
2026-08-03 11:44:23 +00:00
2026-07-18 12:59:37 -07:00
2026-08-07 11:29:48 +02:00
2026-08-11 19:34:44 +00:00
2025-06-09 23:45:29 +02:00
2026-08-05 13:57:32 +00:00
2026-08-05 18:21:40 +02:00