--- title: PerformanceMeasure slug: Web/API/PerformanceMeasure tags: - API - Web パフォーマンス - インターフェイス - パフォーマンスタイムライン API - リファレンス translation_of: Web/API/PerformanceMeasure ---
PerformanceMeasure は、"measure" の {{domxref("PerformanceEntry.entryType","entryType")}} を持つ{{domxref("PerformanceEntry")}} オブジェクトの抽象インターフェイスです。このタイプのエントリは、{{domxref("Performance.measure","performance.measure()")}} を呼び出して、ブラウザのパフォーマンスタイムラインの2つのマークの間に名前付き {{domxref("DOMHighResTimeStamp")}} (measure) を追加することによって作成されます。
{{InheritanceDiagram}}
このインターフェイスはプロパティを持ちませんが、以下のようにプロパティを修飾/制約することで以下の {{domxref("PerformanceEntry")}} プロパティを拡張します。
measure" を返します。このインターフェイスにはメソッドがありません。
ユーザータイミング API の使用の例を参照してください。
| 仕様書 | ステータス | コメント |
|---|---|---|
| {{SpecName('User Timing Level 2', '#dom-performance-measure', 'PerformanceMeasure')}} | {{Spec2('User Timing Level 2')}} | |
| {{SpecName('User Timing', '#performancemeasure', 'PerformanceMeasure')}} | {{Spec2('User Timing')}} | 基本的な定義 |
{{Compat("api.PerformanceMeasure")}}