perf_hooks.performance


可用于从当前 Node.js 实例收集性能指标的对象。 类似于浏览器中的 window.performance

An object that can be used to collect performance metrics from the current Node.js instance. It is similar to window.performance in browsers.