跳到主要内容

Performance

Performance 接口可以获取到当前页面中与性能相关的信息。

它是 High Resolution Time API 的一部分,同时也融合了 - High Resolution Time Level 3, Defines timeOrigin property. - High Resolution Time Level 2, Defines toJson() method. - High Resolution Time, Defines now() method.

  • Performance Timeline API
  • Navigation Timing API
  • User Timing API
    • User Timing Performance extensions, Defines mark(), clearMark(), measure() and clearMeasure() methods.
  • Resource Timing API

参考