interface
perf_hooks.EventLoopMonitorOptions
interface EventLoopMonitorOptions
- resolution?: number
The sampling rate in milliseconds for interval-based sampling. Must be greater than zero. This option is ignored when
samplePerIterationistrue. Default:10. - samplePerIteration?: boolean
When
true, samples are taken once per event loop iteration. Default:false.