image
MDN Web Docs
Performance: memory property - Web APIs | MDN
The non-standard and legacy performance.memory property returns the size of the JavaScript heap which can be helpful to measure and reduce the memory footprint of websites.