node/lib/internal/perf
James M Snell 27c619140a
perf_hooks: multiple fixes for Histogram
* The createHistogram(options) options weren't actually implemented
* Add a new count property that tracks the number of samples
* Adds BigInt options for relevant properties
* Adds add(other) method for RecordableHistogram
* Cleans up and expands tests
* Eliminates unnecessary ELDHistogram native class
* Improve/Simplify histogram transfer impl

Signed-off-by: James M Snell <jasnell@gmail.com>

perf_hooks: simplify Histogram constructor options

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/41153
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2022-01-14 16:19:30 +01:00
..
event_loop_delay.js perf_hooks: multiple fixes for Histogram 2022-01-14 16:19:30 +01:00
event_loop_utilization.js perf_hooks: refactor perf_hooks for snapshot building 2021-06-28 16:20:12 +08:00
nodetiming.js perf_hooks: refactor perf_hooks for snapshot building 2021-06-28 16:20:12 +08:00
observe.js perf_hooks: fix PerformanceObserver gc crash 2021-08-02 12:39:21 +08:00
performance.js lib: use ERR_ILLEGAL_CONSTRUCTOR 2021-08-01 14:24:26 +00:00
performance_entry.js lib: use ERR_ILLEGAL_CONSTRUCTOR 2021-08-01 14:24:26 +00:00
timerify.js perf_hooks: refactor perf_hooks for snapshot building 2021-06-28 16:20:12 +08:00
usertiming.js perf_hooks: use spec-compliant structuredClone 2021-12-13 17:14:02 -05:00
utils.js perf_hooks: refactor perf_hooks for snapshot building 2021-06-28 16:20:12 +08:00