perf_hooks.createHistogram([options])
options
<Object>- 返回 <RecordableHistogram>
options
<Object>min
<number> | <bigint> The minimum recordable value. Must be an integer value greater than 0. Defaults:1
.max
<number> | <bigint> The maximum recordable value. Must be an integer value greater thanmin
. Defaults:Number.MAX_SAFE_INTEGER
.figures
<number> The number of accuracy digits. Must be a number between1
and5
. Defaults:3
.
- Returns <RecordableHistogram>
Returns a <RecordableHistogram>.