node/lib/internal/perf
James M Snell c021b385c8
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-31 23:52:56 -05:00
..
event_loop_delay.js perf_hooks: multiple fixes for Histogram 2022-01-31 23:52:56 -05:00
event_loop_utilization.js perf_hooks: refactor perf_hooks for snapshot building 2021-07-11 09:43:53 +02:00
nodetiming.js perf_hooks: refactor perf_hooks for snapshot building 2021-07-11 09:43:53 +02:00
observe.js perf_hooks: fix PerformanceObserver gc crash 2021-08-16 16:34:20 -04:00
performance.js lib: use ERR_ILLEGAL_CONSTRUCTOR 2021-08-16 16:34:20 -04:00
performance_entry.js lib: use ERR_ILLEGAL_CONSTRUCTOR 2021-08-16 16:34:20 -04:00
timerify.js perf_hooks: refactor perf_hooks for snapshot building 2021-07-11 09:43:53 +02:00
usertiming.js perf_hooks: web performance timeline compliance 2021-08-16 16:33:48 -04:00
utils.js perf_hooks: refactor perf_hooks for snapshot building 2021-07-11 09:43:53 +02:00