Performance.memory
语法
timingInfo = performance.memory
属性
jsHeapSizeLimit
-
上下文内可用堆的最大体积,以字节计算。
totalJSHeapSize
-
已分配的堆体积,以字节计算。
usedJSHeapSize
-
当前 JS 堆活跃段(segment)的体积,以字节计算。
规范
无。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
memory |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
查看更多
- 属于
Performance
接口。