WorkerGlobalScope: performance プロパティ
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.
performance
は WorkerGlobalScope
インターフェイスのプロパティで、ワーカーのスコープで実行するコードのパフォーマンス情報を収集するために使用することができる Performance
オブジェクトを返します。
パフォーマンス項目はコンテキスト単位です。ワーカースレッドでマークを作成した場合、メインスレッドや他のワーカーには表示されません。
ワーカーコンテキストで利用できるのは以下のパフォーマンスインターフェイスだけであることに注意してください。
値
呼び出されるコンテキストのパフォーマンスおよびタイミング関連の情報にアクセスするための Performance
オブジェクトです。
仕様書
Specification |
---|
High Resolution Time # the-performance-attribute |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
performance | ||||||||||||||
Available in workers |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
- Has more compatibility info.
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.