performanceObserver.takeRecords()


  • 返回值: <PerformanceEntry[]> 当前存储在性能监视器中的条目列表,读取后将其清空。