GreenRoots Demo Lab

Performance Interface

The Performance interface provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.

An object of this type can be obtained by calling the window.performance read-only attribute.

Memory Information

  • jsHeapSizeLimit(The maximum size of the heap that is available to the context): 4 GB
  • usedJSHeapSize(The currently active segment of JS heap): 5.3 MB
  • totalJSHeapSize(The total allocated heap size): 7.3 MB