Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf_hooks: introduce createHistogram #37155

Closed
wants to merge 1 commit into from

Commits on Feb 12, 2021

  1. 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: James M Snell <jasnell@gmail.com>
    jasnell committed Feb 12, 2021
    Copy the full SHA
    838ec90 View commit details
    Browse the repository at this point in the history