method Performance.timerify
Usage
import { type Performance } from "node:perf_hooks";
Wraps a function within a new function that measures the running time of the wrapped function. A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed.
fn: T
optional
options: TimerifyOptions