Returns a RecordableHistogram.
Search the reference...
/
function
The number of accuracy digits. Must be a number between 1 and 5.
The maximum recordable value. Must be an integer value greater than min.
The minimum recordable value. Must be an integer value greater than 0.
The number of samples recorded by the histogram.
The number of samples recorded by the histogram. v17.4.0, v16.14.0
The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.
The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.
The maximum recorded event loop delay.
The maximum recorded event loop delay. v17.4.0, v16.14.0
The mean of the recorded event loop delays.
The minimum recorded event loop delay.
The minimum recorded event loop delay. v17.4.0, v16.14.0
Returns a Map object detailing the accumulated percentile distribution.
Returns a Map object detailing the accumulated percentile distribution.
The standard deviation of the recorded event loop delays.
Adds the values from other to this histogram.
Returns the value at the given percentile.
A percentile value in the range (0, 100].
Returns the value at the given percentile.
A percentile value in the range (0, 100].
The amount to record in the histogram.
Calculates the amount of time (in nanoseconds) that has passed since the previous call to recordDelta() and records that amount in the histogram.
Resets the collected histogram data.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Node perf_hooks.createHistogram function | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for function node:perf_hooks.createHistogram | Bun