aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/performance.timing/index.html
blob: 33d0a5417161a9d6eb26682ef43328a84416efbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: Performance.timing
slug: Web/API/Performance.timing
tags:
  - API
  - Navigation Timing
  - Performance
  - Property
  - Read-only
  - 唯讀
  - 屬性
  - 效能
translation_of: Web/API/Performance/timing
---
<p>{{APIRef("Performance")}}</p>

<h2 id="摘要">摘要</h2>

<p><code><strong>Performance</strong></code><strong><code>.timing</code></strong> 是唯讀的屬性,傳回的 {{domxref("PerformanceTiming")}} 物件當中包含了效能與時間延遲相關的資訊。</p>

<h2 id="語法">語法</h2>

<pre class="syntaxbox"><em>timingInfo</em> = <em>performance</em>.timing;</pre>

<h2 id="規格">規格</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">規格</th>
   <th scope="col">狀態</th>
   <th scope="col">備註</th>
  </tr>
  <tr>
   <td>{{SpecName('Navigation Timing', '#sec-window.performance-attribute', 'Performance.timing')}}</td>
   <td>{{Spec2('Navigation Timing')}}</td>
   <td>初步定義</td>
  </tr>
 </tbody>
</table>

<h2 id="瀏覽器支援狀況">瀏覽器支援狀況</h2>

<div>
<div>


<p>{{Compat("api.Performance.timing")}}</p>
</div>
</div>

<h2 id="參照">參照</h2>

<ul>
 <li>屬於 {{domxref("Performance")}} 界面的一部份</li>
</ul>