diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-11 18:29:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 18:29:51 +0100 |
commit | 2bc5610921312613f8623f7ed347aa576689b2b6 (patch) | |
tree | f17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/web/api/performance/memory/index.html | |
parent | 964decad361766e85d928a56f0ab80af0e75c172 (diff) | |
parent | fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff) | |
download | translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2 translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip |
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/web/api/performance/memory/index.html')
-rw-r--r-- | files/zh-cn/web/api/performance/memory/index.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/performance/memory/index.html b/files/zh-cn/web/api/performance/memory/index.html new file mode 100644 index 0000000000..074295f951 --- /dev/null +++ b/files/zh-cn/web/api/performance/memory/index.html @@ -0,0 +1,43 @@ +--- +title: Performance.memory +slug: Web/API/Performance/memory +translation_of: Web/API/Performance/memory +original_slug: Web/API/Performance/内存 +--- +<p>{{APIRef}}</p> + +<h2 id="语法">语法</h2> + +<pre class="syntaxbox"><em>timingInfo</em> = <em>performance</em>.memory</pre> + +<h2 id="属性">属性</h2> + +<dl> + <dt><code>jsHeapSizeLimit</code></dt> + <dd>上下文内可用堆的最大体积,以字节计算。</dd> + <dt><code>totalJSHeapSize</code></dt> + <dd> 已分配的堆体积,以字节计算。</dd> +</dl> + +<dl> + <dt><code>usedJSHeapSize</code></dt> + <dd>当前 JS 堆活跃段(segment)的体积,以字节计算。</dd> +</dl> + +<h2 id="规范">规范</h2> + +<p>无。</p> + +<h2 id="浏览器兼容性">浏览器兼容性</h2> + +<div> + + +<p>{{Compat("api.Performance.memory")}}</p> +</div> + +<h2 id="查看更多">查看更多</h2> + +<ul> + <li>属于 {{domxref("Performance")}} 接口。</li> +</ul> |