Mtimerify
Bun

method

perf_hooks.Performance.timerify

timerify<T extends (...args: any[]) => any>(
fn: T,
options?: TimerifyOptions
): T;

This is an alias of perf_hooks.timerify().

This property is an extension by Node.js. It is not available in Web browsers.

Referenced types

interface TimerifyOptions

  • histogram?: RecordableHistogram

    A histogram object created using perf_hooks.createHistogram() that will record runtime durations in nanoseconds.