From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/performancemark/index.html | 75 +++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 files/ja/web/api/performancemark/index.html (limited to 'files/ja/web/api/performancemark') diff --git a/files/ja/web/api/performancemark/index.html b/files/ja/web/api/performancemark/index.html new file mode 100644 index 0000000000..a152764459 --- /dev/null +++ b/files/ja/web/api/performancemark/index.html @@ -0,0 +1,75 @@ +--- +title: PerformanceMark +slug: Web/API/PerformanceMark +tags: + - API + - Web パフォーマンス + - インターフェイス + - パフォーマンスタイミング API + - リファレンス +translation_of: Web/API/PerformanceMark +--- +
{{APIRef("User Timing API")}}
+ +

PerformanceMark は {{domxref("PerformanceEntry.entryType","entryType")}} の "mark" を持つ{{domxref("PerformanceEntry")}} オブジェクトの抽象インターフェイスです。
+ このタイプのエントリは、{{domxref("Performance.mark","performance.mark()")}} を呼び出して、ブラウザのパフォーマンスタイムライン名前付き {{domxref("DOMHighResTimeStamp")}} (mark) を追加することによって作成されます。

+ +

{{InheritanceDiagram}}

+ +

プロパティ

+ +

このインターフェイスはプロパティを持ちませんが、以下のようにプロパティを修飾/制約することで以下の {{domxref("PerformanceEntry")}} プロパティを拡張します。

+ +
+
{{domxref("PerformanceEntry.entryType")}}
+
"mark" を返します。
+
{{domxref("PerformanceEntry.name")}}
+
マークが{{domxref("Performance.mark()","performance.mark()")}} を呼び出して作成されたときに付けられた名前を返します。
+
{{domxref("PerformanceEntry.startTime")}}
+
{{domxref("Performance.mark()","performance.mark()")}} が呼び出されたときに {{domxref("DOMHighResTimeStamp")}} を返します。
+
{{domxref("PerformanceEntry.duration")}}
+
"0" を返します (マークには期間がありません)
+
+ +

メソッド

+ +

このインターフェイスにはメソッドがありません。

+ +

+ +

ユーザータイミング API の使用の例を参照してください。

+ +

仕様

+ + + + + + + + + + + + + + + + + + + +
仕様書ステータスコメント
{{SpecName('User Timing Level 2', '#performancemark', 'PerformanceMark')}}{{Spec2('User Timing Level 2')}} 
{{SpecName('User Timing', '#performancemark', 'PerformanceMark')}}{{Spec2('User Timing')}}基本的な定義
+ +

ブラウザの互換性

+ + + +

{{Compat("api.PerformanceMark")}}

+ +

あわせて参照

+ + -- cgit v1.2.3-54-g00ecf