Unverified Commit 4a19cc89 authored by James M Snell's avatar James M Snell
Browse files

perf_hooks: introduce createHistogram



Adds a new `perf_hooks.createHistogram()` API for creating histogram
instances that allow user recording.

Makes Histogram instances cloneable via MessagePort. This allows, for
instance, an event loop delay monitor to be running on the main thread
while the histogram data can be monitored actively from a worker thread.

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

PR-URL: https://github.com/nodejs/node/pull/37155


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent ce4798b5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment