JavaScript Memory API

The feature adds a performance.measureMemory() function that estimates the total size of JavaScript objects that the calling context can access.

Web developers need an API for measuring memory usage of their applications in production. The use cases include a) analysis of correlation between memory usage and user metrics, b) detection of memory regressions, c) evaluation of feature launches in A/B tests, d) memory optimization. Currently web developers resort to the non-standard performance.memory API that is used in 20% of page loads


Status in Chromium


No active development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • No public signals
  • Positive


Last updated on 2019-06-13