使用方式npm install --save-dev performance-tool 在项目中引入:import performance from 'performance-tool'; 在项目中对应位置使用: performance.getPerformanceTiming(); 执行结果如下所示: 了解更多,请看这篇文章 1 keyword2 dependents1 versionperformance前端资源性能监控@infinitebrahmanuniverse/nolb-perf@everything-registry/sub-chunk-24261.0.04 years ago