非標準
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
パフォーマンスプロファイル (例えば Firefox の パフォーマンスツール) の記録を開始します。
任意でプロファイル名を引数として与えることができ、複数のプロファイルを記録している場合に特定のプロファイルのみ停止することができます。引数の解釈方法については、Console.profileEnd() をご覧ください。
Console.profileEnd() を呼び出すと、記録を終了します。
註: This feature is available in Web Workers.
構文
console.profile(profileName);
引数
profileName- プロファイルにつける名前。省略可能です。
仕様
| 仕様書 | 策定状況 | コメント |
|---|---|---|
| Console API console.profile() の定義 |
勧告改訂案 | 最初期の定義 |
ブラウザ実装状況
| 機能 | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| 基本サポート | ? | (有) | (有) | ? | ? |
| Worker で使用可能 | ? | 38.0 (38.0) | ? | ? | ? |
| 機能 | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| 基本サポート | ? | 10.0 (10.0) | ? | ? | ? |
| Worker で使用可能 | ? | 38.0 (38.0) | ? | ? | ? |