目次
Chrome
検索履歴を条件でフィルターする
chrome://history - 履歴 を開いて myactivity.google.com (Google マイアクティビティ) にアクセスする。
「アクティビティを検索」で「検索」にチェックを入れて、日付の範囲を「次よりも前」、「次よりも前」でフィルターする。
プラグイン
V8 ネイティブ シンタックスを有効化する方法 [--allow-natives-syntax]
chrome の起動コマンドに以下のオプションを追加して起動する。
chrome で指定できる起動オプションの詳細は List of Chromium Command Line Switches « Peter Beverloo にある。
Linux
$ /opt/google/chrome/chrome --js-flags="--allow-natives-syntax" &
chrome-beta の Path: /opt/google/chrome-beta/chrome
Windows
> "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --js-flags="--allow-natives-syntax"
chrome-canary の Path: “%USERPROFILE%\AppData\Local\Google\Chrome SxS\Application\chrome.exe”
ネイティブ シンタックスを有効にすると、ブラウザーで以下の runtime.h に記載のある各組み込み関数が使用できるようになる。
https://cs.chromium.org/chromium/src/v8/src/runtime/runtime.h
例えば、%GetOptimizationStatus(func) 関数で V8 エンジンの JavaScript の最適化ステータスを取得することが出来る。
const printOptimizationStatus = (func) => { const wrapEval = (script) => { return (new Function(`"use strict"; return ${script};`))(); }; const isAllowNativeSyntax = () => { let native = false; try { wrapEval('%GetOptimizationStatus();'); native = true; } catch (err) { console.log('v8 engine is not running with --js-flags="--allow-natives-syntax";'); console.log('Native v8 functions are not available.'); native = false; } return native; }; const optStatusString = []; let funcName = ''; if (isAllowNativeSyntax()) { const checkBitmap = (value, bit) => { return ((value & bit) === bit); }; self._optCheckFunc = func; const optStatus = wrapEval('%GetOptimizationStatus(self._optCheckFunc);'); funcName = wrapEval('%GetFunctionName(self._optCheckFunc);'); if (checkBitmap(optStatus,1)) { optStatusString.push("is Function"); } if (checkBitmap(optStatus,2)) { optStatusString.push("Never Optimized"); } if (checkBitmap(optStatus,4)) { optStatusString.push("Always Optimized"); } if (checkBitmap(optStatus,8)) { optStatusString.push("Maybe Deopted"); } if (checkBitmap(optStatus,16)) { optStatusString.push("Optimized"); } if (checkBitmap(optStatus,32)) { optStatusString.push("TurboFanned"); } if (checkBitmap(optStatus,64)) { optStatusString.push("Interpreted"); } if (checkBitmap(optStatus,128)) { optStatusString.push("Marked for Optimization"); } if (checkBitmap(optStatus,256)) { optStatusString.push("Marked for Concurrent Optimization"); } if (checkBitmap(optStatus,512)) { optStatusString.push("Conccurently Optimizating"); } if (checkBitmap(optStatus,1024)) { optStatusString.push("Is Executing"); } if (checkBitmap(optStatus,2048)) { optStatusString.push("Topmost frame is Turbo Fanned"); } if (checkBitmap(optStatus,4096)) { optStatusString.push("Lite Mode"); } if (checkBitmap(optStatus,8192)) { optStatusString.push("Marked for Deoptimization"); } console.log(`${funcName}: ${optStatusString.join(", ")}`); } return { [funcName]: optStatusString.join(", "), }; };
※ここでは eval() を使わずに new Function() を利用してコードを式として評価している。
optStatus bit について
0 0 0 0 0 0 0 1 0 0 0 0 0 1 = 65 の場合 ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬ val( C++): C++ enum define name │ │ │ │ │ │ │ │ │ │ │ │ │ └── 1(1 << 0): is function │ │ │ │ │ │ │ │ │ │ │ │ └──── 2(1 << 1): is never optimized │ │ │ │ │ │ │ │ │ │ │ └────── 4(1 << 2): is always optimized │ │ │ │ │ │ │ │ │ │ └──────── 8(1 << 3): is maybe deoptimized │ │ │ │ │ │ │ │ │ └────────── 16(1 << 4): is optimized │ │ │ │ │ │ │ │ └──────────── 32(1 << 5): is optimized by TurboFan │ │ │ │ │ │ │ └────────────── 64(1 << 6): is interpreted │ │ │ │ │ │ └──────────────── 128(1 << 7): is marked for optimization │ │ │ │ │ └────────────────── 256(1 << 8): is marked for concurrent optimization │ │ │ │ └──────────────────── 512(1 << 9): is optimizing concurrently │ │ │ └────────────────────── 1024(1 << 10): is executing │ │ └──────────────────────── 2048(1 << 11): topmost frame is turbo fanned │ └────────────────────────── 4096(1 << 12): lite mode └──────────────────────────── 8192(1 << 13): marked for deoptimization
- chromium/src/v8/src/runtime/runtime.h
// A set of bits returned by Runtime_GetOptimizationStatus. // These bits must be in sync with bits defined in test/mjsunit/mjsunit.js enum class OptimizationStatus { kIsFunction = 1 << 0, kNeverOptimize = 1 << 1, kAlwaysOptimize = 1 << 2, kMaybeDeopted = 1 << 3, kOptimized = 1 << 4, kTurboFanned = 1 << 5, kInterpreted = 1 << 6, kMarkedForOptimization = 1 << 7, kMarkedForConcurrentOptimization = 1 << 8, kOptimizingConcurrently = 1 << 9, kIsExecuting = 1 << 10, kTopmostFrameIsTurboFanned = 1 << 11, kLiteMode = 1 << 12, kMarkedForDeoptimization = 1 << 13, };
参考文献
Optimization killers · petkaantonov/bluebird Wiki · GitHub
JavaScriptを最適化コンパイルするために避けるべきこと - Qiita - Optimization-killers 日本語訳
Detecting function optimizations in V8 | Better world by better software
GitHub - NathanaelA/v8-Natives: Access v8 Engine Natives easily in Chrome & Node
eval() - JavaScript | MDN
https://cs.chromium.org/chromium/src/v8/src/runtime/runtime.h
V8 関数最適化トレース表示を有効化する方法 [--trace_opt]
chrome の起動コマンドに以下のオプションを追加して起動する。
Linux
$ /opt/google/chrome/chrome --js-flags="--trace_opt" &
chrome-beta の場合
$ /opt/google/chrome-beta/chrome --js-flags="--trace_opt" &
[marking 0x268cd08c0139 <JSFunction (sfi = 0x3b0f665beba1)> for optimized recompilation, reason: hot and stable] [compiling method 0x268cd08c0139 <JSFunction (sfi = 0x3b0f665beba1)> using TurboFan] [optimizing 0x268cd08c0139 <JSFunction (sfi = 0x3b0f665beba1)> - took 0.404, 2.006, 0.049 ms] [completed optimizing 0x268cd08c0139 <JSFunction (sfi = 0x3b0f665beba1)>] [marking 0x36d1a5451739 <JSFunction Gxx (sfi = 0x15d6fd833499)> for optimized recompilation, reason: small function] [compiling method 0x36d1a5451739 <JSFunction Gxx (sfi = 0x15d6fd833499)> using TurboFan] [optimizing 0x36d1a5451739 <JSFunction Gxx (sfi = 0x15d6fd833499)> - took 0.215, 1.031, 0.025 ms] [completed optimizing 0x36d1a5451739 <JSFunction Gxx (sfi = 0x15d6fd833499)>] [compiling method 0x36d1a5451739 <JSFunction Gxx (sfi = 0x15d6fd833499)> using TurboFan OSR] [optimizing 0x36d1a5451739 <JSFunction Gxx (sfi = 0x15d6fd833499)> - took 0.163, 0.894, 0.016 ms] [marking 0x3897e6ec0309 <JSFunction s (sfi = 0x86fcd41e859)> for optimized recompilation, reason: hot and stable] [compiling method 0x3897e6ec0309 <JSFunction s (sfi = 0x86fcd41e859)> using TurboFan] [optimizing 0x317ccf6c02d1 <JSFunction s (sfi = 0x86fcd41e859)> - took 0.815, 6.325, 0.073 ms] [completed optimizing 0x317ccf6c02d1 <JSFunction s (sfi = 0x86fcd41e859)>] [marking 0x163adb875401 <JSFunction trim (sfi = 0x163adb874239)> for optimized recompilation, reason: small function] [compiling method 0x163adb875401 <JSFunction trim (sfi = 0x163adb874239)> using TurboFan] [optimizing 0x163adb875401 <JSFunction trim (sfi = 0x163adb874239)> - took 0.267, 0.541, 0.030 ms] [completed optimizing 0x163adb875401 <JSFunction trim (sfi = 0x163adb874239)>] [marking 0x082186822ba1 <JSFunction String.hashCode (sfi = 0x82186821be1)> for optimized recompilation, reason: hot and stable] [compiling method 0x082186822ba1 <JSFunction String.hashCode (sfi = 0x82186821be1)> using TurboFan OSR] [optimizing 0x082186822ba1 <JSFunction String.hashCode (sfi = 0x82186821be1)> - took 0.454, 2.358, 0.071 ms] [compiling method 0x082186822ba1 <JSFunction String.hashCode (sfi = 0x82186821be1)> using TurboFan] [optimizing 0x082186822ba1 <JSFunction String.hashCode (sfi = 0x82186821be1)> - took 0.468, 2.111, 0.041 ms] [marking 0x22c7ac36c069 <JSFunction isTabAdguardDetected (sfi = 0x12424615e241)> for optimized recompilation, reason: small function] [compiling method 0x22c7ac36c069 <JSFunction isTabAdguardDetected (sfi = 0x12424615e241)> using TurboFan] [optimizing 0x22c7ac36c069 <JSFunction isTabAdguardDetected (sfi = 0x12424615e241)> - took 0.733, 3.923, 0.139 ms] [completed optimizing 0x22c7ac36c069 <JSFunction isTabAdguardDetected (sfi = 0x12424615e241)>] [marking 0x0b433fed6321 <JSFunction browser.webRequest.onCompleted.addListener.urls.urls.urls (sfi = 0xeda3cd662e9)> for optimized recompilation, reason: small function] [compiling method 0x0b433fed6321 <JSFunction browser.webRequest.onCompleted.addListener.urls.urls.urls (sfi = 0xeda3cd662e9)> using TurboFan] [optimizing 0x0b433fed6321 <JSFunction browser.webRequest.onCompleted.addListener.urls.urls.urls (sfi = 0xeda3cd662e9)> - took 3.877, 6.546, 0.098 ms] [completed optimizing 0x0b433fed6321 <JSFunction browser.webRequest.onCompleted.addListener.urls.urls.urls (sfi = 0xeda3cd662e9)>] [marking 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> using TurboFan] [optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> - took 1.211, 14.146, 0.069 ms] [completed optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)>] [marking 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> using TurboFan] [optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> - took 1.349, 15.875, 0.106 ms] [completed optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)>] [marking 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)> for optimized recompilation, reason: small function] [compiling method 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)> using TurboFan] [optimizing 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)> - took 0.625, 1.330, 0.037 ms] [completed optimizing 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)>] [marking 0x282219a801e1 <JSFunction skip (sfi = 0xb78183f9049)> for optimized recompilation, reason: small function] [compiling method 0x282219a801e1 <JSFunction skip (sfi = 0xb78183f9049)> using TurboFan] [optimizing 0x282219a801e1 <JSFunction skip (sfi = 0xb78183f9049)> - took 0.272, 1.074, 0.033 ms] [completed optimizing 0x282219a801e1 <JSFunction skip (sfi = 0xb78183f9049)>] [marking 0x213c174ae831 <JSFunction (sfi = 0x209ff43dd1c9)> for optimized recompilation, reason: hot and stable] [compiling method 0x213c174af159 <JSFunction (sfi = 0x209ff43dd1c9)> using TurboFan] [marking 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)> using TurboFan] [optimizing 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)> - took 0.294, 0.881, 0.045 ms] [completed optimizing 0x282219a94e41 <JSFunction peek (sfi = 0xb78183f8ff1)>] [marking 0x282219a95429 <JSFunction checkPunctuators (sfi = 0xb78183dc9f9)> for optimized recompilation, reason: small function] [compiling method 0x282219a95429 <JSFunction checkPunctuators (sfi = 0xb78183dc9f9)> using TurboFan] [optimizing 0x282219a95429 <JSFunction checkPunctuators (sfi = 0xb78183dc9f9)> - took 0.757, 5.121, 0.067 ms] [completed optimizing 0x282219a95429 <JSFunction checkPunctuators (sfi = 0xb78183dc9f9)>] [marking 0x282219a803a1 <JSFunction next (sfi = 0xb78183f95b1)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a803a1 <JSFunction next (sfi = 0xb78183f95b1)> using TurboFan] [optimizing 0x3c6988bc0269 <JSFunction (sfi = 0x209ff43dd1c9)> - took 1.539, 15.580, 0.110 ms] [completed optimizing 0x3c6988bc0269 <JSFunction (sfi = 0x209ff43dd1c9)>] [marking 0x282219a80811 <JSFunction lookupBlockType (sfi = 0xb78183ddd89)> for optimized recompilation, reason: hot and stable] [optimizing 0x282219a803a1 <JSFunction next (sfi = 0xb78183f95b1)> - took 1.447, 15.469, 0.077 ms] [completed optimizing 0x282219a803a1 <JSFunction next (sfi = 0xb78183f95b1)>] [marking 0x282219a95111 <JSFunction inContext (sfi = 0xb78183f8d89)> for optimized recompilation, reason: small function] [compiling method 0x282219a95111 <JSFunction inContext (sfi = 0xb78183f8d89)> using TurboFan] [marking 0x282219a94eb9 <JSFunction scanStringLiteral (sfi = 0xb78183f9441)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a94eb9 <JSFunction scanStringLiteral (sfi = 0xb78183f9441)> using TurboFan] [optimizing 0x282219a95111 <JSFunction inContext (sfi = 0xb78183f8d89)> - took 0.265, 0.819, 0.045 ms] [completed optimizing 0x282219a95111 <JSFunction inContext (sfi = 0xb78183f8d89)>] [marking 0x282219a80441 <JSFunction peek (sfi = 0xb78183db211)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a80441 <JSFunction peek (sfi = 0xb78183db211)> using TurboFan] [optimizing 0x282219a80441 <JSFunction peek (sfi = 0xb78183db211)> - took 0.436, 5.206, 0.047 ms] [completed optimizing 0x282219a80441 <JSFunction peek (sfi = 0xb78183db211)>] [marking 0x282219a925f1 <JSFunction isKey (sfi = 0xb78183e3121)> for optimized recompilation, reason: small function] [compiling method 0x282219a925f1 <JSFunction isKey (sfi = 0xb78183e3121)> using TurboFan] [optimizing 0x282219a94eb9 <JSFunction scanStringLiteral (sfi = 0xb78183f9441)> - took 0.901, 7.246, 0.065 ms] [completed optimizing 0x282219a94eb9 <JSFunction scanStringLiteral (sfi = 0xb78183f9441)>] [optimizing 0x282219a925f1 <JSFunction isKey (sfi = 0xb78183e3121)> - took 0.378, 1.415, 0.049 ms] [completed optimizing 0x282219a925f1 <JSFunction isKey (sfi = 0xb78183e3121)>] [marking 0x282219a94cc9 <JSFunction asyncTrigger (sfi = 0xb78183f8cd1)> for optimized recompilation, reason: small function] [compiling method 0x282219a94cc9 <JSFunction asyncTrigger (sfi = 0xb78183f8cd1)> using TurboFan] [optimizing 0x282219a94cc9 <JSFunction asyncTrigger (sfi = 0xb78183f8cd1)> - took 0.323, 1.262, 0.035 ms] [completed optimizing 0x282219a94cc9 <JSFunction asyncTrigger (sfi = 0xb78183f8cd1)>] [marking 0x3ca396f843e1 <JSFunction (sfi = 0x209ff43e9139)> for optimized recompilation, reason: hot and stable] [compiling method 0x3ca396f843e1 <JSFunction (sfi = 0x209ff43e9139)> using TurboFan] [optimizing 0x3ca396f843e1 <JSFunction (sfi = 0x209ff43e9139)> - took 0.336, 1.815, 0.043 ms] [completed optimizing 0x3ca396f843e1 <JSFunction (sfi = 0x209ff43e9139)>] [marking 0x1736b023e7e9 <JSFunction (sfi = 0x209ff43dd1c9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1736b023ece1 <JSFunction (sfi = 0x209ff43dd1c9)> using TurboFan] [marking 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)> using TurboFan] [compiling method 0x282219a80811 <JSFunction lookupBlockType (sfi = 0xb78183ddd89)> using TurboFan OSR] [optimizing 0x282219a80811 <JSFunction lookupBlockType (sfi = 0xb78183ddd89)> - took 1.857, 11.963, 0.087 ms] [optimizing 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)> - took 1.760, 6.458, 0.047 ms] [completed optimizing 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)>] [optimizing 0x1736b023ece1 <JSFunction (sfi = 0x209ff43dd1c9)> - took 1.145, 15.287, 0.067 ms] [completed optimizing 0x1736b023ece1 <JSFunction (sfi = 0x209ff43dd1c9)>] [marking 0x282219a803e1 <JSFunction token (sfi = 0xb78183f96c1)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a803e1 <JSFunction token (sfi = 0xb78183f96c1)> using TurboFan] [marking 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)> using TurboFan] [optimizing 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)> - took 1.102, 11.405, 0.072 ms] [completed optimizing 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)>] [marking 0x282219a95559 <JSFunction baseIndexOf (sfi = 0xb78183e1f29)> for optimized recompilation, reason: small function] [compiling method 0x282219a95559 <JSFunction baseIndexOf (sfi = 0xb78183e1f29)> using TurboFan] [optimizing 0x282219a95559 <JSFunction baseIndexOf (sfi = 0xb78183e1f29)> - took 0.244, 3.016, 0.052 ms] [completed optimizing 0x282219a95559 <JSFunction baseIndexOf (sfi = 0xb78183e1f29)>] [marking 0x282219a95519 <JSFunction getIndexOf (sfi = 0xb78183e2f11)> for optimized recompilation, reason: small function] [compiling method 0x282219a95519 <JSFunction getIndexOf (sfi = 0xb78183e2f11)> using TurboFan] [optimizing 0x282219a803e1 <JSFunction token (sfi = 0xb78183f96c1)> - took 4.441, 37.946, 0.187 ms] [completed optimizing 0x282219a803e1 <JSFunction token (sfi = 0xb78183f96c1)>] [optimizing 0x282219a95519 <JSFunction getIndexOf (sfi = 0xb78183e2f11)> - took 0.569, 2.224, 0.043 ms] [completed optimizing 0x282219a95519 <JSFunction getIndexOf (sfi = 0xb78183e2f11)>] [marking 0x1736b021fa59 <JSFunction (sfi = 0x209ff43dd1c9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1736b0220391 <JSFunction (sfi = 0x209ff43dd1c9)> using TurboFan] [marking 0x282219a94ff9 <JSFunction scanIdentifier (sfi = 0xb78183f92c9)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a94ff9 <JSFunction scanIdentifier (sfi = 0xb78183f92c9)> using TurboFan] [marking 0x2e43004bec01 <JSFunction (sfi = 0x209ff43e9139)> for optimized recompilation, reason: hot and stable] [compiling method 0x2e43004bec01 <JSFunction (sfi = 0x209ff43e9139)> using TurboFan] [optimizing 0x2e43004bec01 <JSFunction (sfi = 0x209ff43e9139)> - took 0.531, 2.074, 0.064 ms] [completed optimizing 0x2e43004bec01 <JSFunction (sfi = 0x209ff43e9139)>] [optimizing 0x1736b0220391 <JSFunction (sfi = 0x209ff43dd1c9)> - took 1.650, 13.795, 0.089 ms] [completed optimizing 0x1736b0220391 <JSFunction (sfi = 0x209ff43dd1c9)>] [optimizing 0x282219a94ff9 <JSFunction scanIdentifier (sfi = 0xb78183f92c9)> - took 1.242, 10.326, 0.098 ms] [completed optimizing 0x282219a94ff9 <JSFunction scanIdentifier (sfi = 0xb78183f92c9)>] [marking 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)> using TurboFan] [optimizing 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)> - took 1.746, 7.031, 0.096 ms] [completed optimizing 0x282219a94f79 <JSFunction scanPunctuator (sfi = 0xb78183f91b9)>] [marking 0x282219a93431 <JSFunction inES6 (sfi = 0xb78183fac71)> for optimized recompilation, reason: small function] [compiling method 0x282219a93431 <JSFunction inES6 (sfi = 0xb78183fac71)> using TurboFan] [optimizing 0x282219a93431 <JSFunction inES6 (sfi = 0xb78183fac71)> - took 0.256, 0.666, 0.035 ms] [completed optimizing 0x282219a93431 <JSFunction inES6 (sfi = 0xb78183fac71)>] [marking 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)> for optimized recompilation, reason: hot and stable] [compiling method 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)> using TurboFan] [optimizing 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)> - took 1.941, 15.091, 0.111 ms] [completed optimizing 0x282219a94ef9 <JSFunction scanTemplateLiteral (sfi = 0xb78183f93e9)>] [compiling method 0x282219a80811 <JSFunction lookupBlockType (sfi = 0xb78183ddd89)> using TurboFan] [optimizing 0x282219a80811 <JSFunction lookupBlockType (sfi = 0xb78183ddd89)> - took 1.527, 15.123, 0.092 ms] [marking 0x0cf7a5360179 <JSFunction isMultiLine (sfi = 0xcf7a535f199)> for optimized recompilation, reason: small function] [compiling method 0x0cf7a5360179 <JSFunction isMultiLine (sfi = 0xcf7a535f199)> using TurboFan] [optimizing 0x0cf7a5360179 <JSFunction isMultiLine (sfi = 0xcf7a535f199)> - took 0.213, 0.477, 0.060 ms] [completed optimizing 0x0cf7a5360179 <JSFunction isMultiLine (sfi = 0xcf7a535f199)>] [marking 0x20085fe11129 <JSFunction Folding.getFoldLine (sfi = 0x20085fe0fb99)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe11129 <JSFunction Folding.getFoldLine (sfi = 0x20085fe0fb99)> using TurboFan] [optimizing 0x20085fe11129 <JSFunction Folding.getFoldLine (sfi = 0x20085fe0fb99)> - took 0.450, 1.849, 0.092 ms] [completed optimizing 0x20085fe11129 <JSFunction Folding.getFoldLine (sfi = 0x20085fe0fb99)>] [marking 0x0cf7a535ffb9 <JSFunction compare (sfi = 0xcf7a535ef31)> for optimized recompilation, reason: hot and stable] [compiling method 0x0cf7a535ffb9 <JSFunction compare (sfi = 0xcf7a535ef31)> using TurboFan] [optimizing 0x0cf7a535ffb9 <JSFunction compare (sfi = 0xcf7a535ef31)> - took 0.416, 0.698, 0.067 ms] [completed optimizing 0x0cf7a535ffb9 <JSFunction compare (sfi = 0xcf7a535ef31)>] [marking 0x0cf7a536f899 <JSFunction EventEmitter._signal (sfi = 0xcf7a536f1d9)> for optimized recompilation, reason: small function] [compiling method 0x0cf7a536f899 <JSFunction EventEmitter._signal (sfi = 0xcf7a536f1d9)> using TurboFan] [optimizing 0x0cf7a536f899 <JSFunction EventEmitter._signal (sfi = 0xcf7a536f1d9)> - took 0.355, 1.543, 0.030 ms] [completed optimizing 0x0cf7a536f899 <JSFunction EventEmitter._signal (sfi = 0xcf7a536f1d9)>] [marking 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)> using TurboFan] [optimizing 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)> - took 0.396, 1.205, 0.027 ms] [completed optimizing 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)>] [marking 0x1f70803985a1 <JSFunction skip (sfi = 0x190e49ab9049)> for optimized recompilation, reason: small function] [compiling method 0x1f70803985a1 <JSFunction skip (sfi = 0x190e49ab9049)> using TurboFan] [optimizing 0x1f70803985a1 <JSFunction skip (sfi = 0x190e49ab9049)> - took 0.329, 1.100, 0.037 ms] [completed optimizing 0x1f70803985a1 <JSFunction skip (sfi = 0x190e49ab9049)>] [marking 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)> for optimized recompilation, reason: small function] [compiling method 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)> using TurboFan] [optimizing 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)> - took 0.211, 0.864, 0.034 ms] [completed optimizing 0x1f7080398529 <JSFunction peek (sfi = 0x190e49ab8ff1)>] [marking 0x16411d4244e9 <JSFunction (sfi = 0x169da6186811)> for optimized recompilation, reason: hot and stable] [compiling method 0x16411d424ec1 <JSFunction (sfi = 0x169da6186811)> using TurboFan] [marking 0x1f70803983b1 <JSFunction next (sfi = 0x190e49ab95b1)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f70803983b1 <JSFunction next (sfi = 0x190e49ab95b1)> using TurboFan] [optimizing 0x0f2cce7002c1 <JSFunction (sfi = 0x169da6186811)> - took 1.097, 13.525, 0.079 ms] [completed optimizing 0x0f2cce7002c1 <JSFunction (sfi = 0x169da6186811)>] [marking 0x1f7080398621 <JSFunction scanStringLiteral (sfi = 0x190e49ab9441)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f7080398621 <JSFunction scanStringLiteral (sfi = 0x190e49ab9441)> using TurboFan] [optimizing 0x1f7080398621 <JSFunction scanStringLiteral (sfi = 0x190e49ab9441)> - took 1.043, 6.924, 0.098 ms] [completed optimizing 0x1f7080398621 <JSFunction scanStringLiteral (sfi = 0x190e49ab9441)>] [marking 0x1f7080398c01 <JSFunction checkPunctuators (sfi = 0x190e49a9c9f9)> for optimized recompilation, reason: small function] [compiling method 0x1f7080398c01 <JSFunction checkPunctuators (sfi = 0x190e49a9c9f9)> using TurboFan] [optimizing 0x1f70803983b1 <JSFunction next (sfi = 0x190e49ab95b1)> - took 2.188, 18.657, 0.101 ms] [completed optimizing 0x1f70803983b1 <JSFunction next (sfi = 0x190e49ab95b1)>] [optimizing 0x1f7080398c01 <JSFunction checkPunctuators (sfi = 0x190e49a9c9f9)> - took 0.824, 3.977, 0.028 ms] [completed optimizing 0x1f7080398c01 <JSFunction checkPunctuators (sfi = 0x190e49a9c9f9)>] [marking 0x1f7080380779 <JSFunction lookupBlockType (sfi = 0x190e49a9dd89)> for optimized recompilation, reason: hot and stable] [marking 0x1f70803988e9 <JSFunction inContext (sfi = 0x190e49ab8d89)> for optimized recompilation, reason: small function] [compiling method 0x1f70803988e9 <JSFunction inContext (sfi = 0x190e49ab8d89)> using TurboFan] [marking 0x1f70803803a9 <JSFunction peek (sfi = 0x190e49a9b211)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f70803803a9 <JSFunction peek (sfi = 0x190e49a9b211)> using TurboFan] [optimizing 0x1f70803803a9 <JSFunction peek (sfi = 0x190e49a9b211)> - took 0.445, 3.993, 0.052 ms] [completed optimizing 0x1f70803803a9 <JSFunction peek (sfi = 0x190e49a9b211)>] [optimizing 0x1f70803988e9 <JSFunction inContext (sfi = 0x190e49ab8d89)> - took 0.330, 7.686, 0.029 ms] [completed optimizing 0x1f70803988e9 <JSFunction inContext (sfi = 0x190e49ab8d89)>] [marking 0x1f7080380259 <JSFunction asyncTrigger (sfi = 0x190e49ab8cd1)> for optimized recompilation, reason: small function] [compiling method 0x1f7080380259 <JSFunction asyncTrigger (sfi = 0x190e49ab8cd1)> using TurboFan] [optimizing 0x1f7080380259 <JSFunction asyncTrigger (sfi = 0x190e49ab8cd1)> - took 0.291, 1.920, 0.045 ms] [completed optimizing 0x1f7080380259 <JSFunction asyncTrigger (sfi = 0x190e49ab8cd1)>] [marking 0x190e49a8c609 <JSFunction trim (sfi = 0x190e49a8a7d1)> for optimized recompilation, reason: small function] [compiling method 0x190e49a8c609 <JSFunction trim (sfi = 0x190e49a8a7d1)> using TurboFan] [optimizing 0x190e49a8c609 <JSFunction trim (sfi = 0x190e49a8a7d1)> - took 0.284, 0.683, 0.047 ms] [completed optimizing 0x190e49a8c609 <JSFunction trim (sfi = 0x190e49a8a7d1)>] [marking 0x3affd63c81e9 <JSFunction (sfi = 0x169da61925b1)> for optimized recompilation, reason: hot and stable] [compiling method 0x3affd63c81e9 <JSFunction (sfi = 0x169da61925b1)> using TurboFan] [optimizing 0x3affd63c81e9 <JSFunction (sfi = 0x169da61925b1)> - took 0.392, 1.747, 0.054 ms] [completed optimizing 0x3affd63c81e9 <JSFunction (sfi = 0x169da61925b1)>] [marking 0x1f7080380299 <JSFunction token (sfi = 0x190e49ab96c1)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f7080380299 <JSFunction token (sfi = 0x190e49ab96c1)> using TurboFan] [marking 0x192ee7c992b1 <JSFunction (sfi = 0x169da6186811)> for optimized recompilation, reason: hot and stable] [compiling method 0x192ee7c99d01 <JSFunction (sfi = 0x169da6186811)> using TurboFan] [marking 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)> using TurboFan] [compiling method 0x1f7080380779 <JSFunction lookupBlockType (sfi = 0x190e49a9dd89)> using TurboFan OSR] [marking 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> using TurboFan] [optimizing 0x1f7080380779 <JSFunction lookupBlockType (sfi = 0x190e49a9dd89)> - took 1.639, 15.532, 0.113 ms] [optimizing 0x192ee7c99d01 <JSFunction (sfi = 0x169da6186811)> - took 1.551, 15.781, 0.082 ms] [completed optimizing 0x192ee7c99d01 <JSFunction (sfi = 0x169da6186811)>] [marking 0x1f7080398d31 <JSFunction baseIndexOf (sfi = 0x190e49aa1f29)> for optimized recompilation, reason: small function] [compiling method 0x1f7080398d31 <JSFunction baseIndexOf (sfi = 0x190e49aa1f29)> using TurboFan] [optimizing 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)> - took 1.591, 23.725, 0.091 ms] [completed optimizing 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)>] [optimizing 0x1f7080398d31 <JSFunction baseIndexOf (sfi = 0x190e49aa1f29)> - took 0.301, 1.562, 0.022 ms] [completed optimizing 0x1f7080398d31 <JSFunction baseIndexOf (sfi = 0x190e49aa1f29)>] [marking 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)> using TurboFan] [optimizing 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)> - took 1.642, 7.995, 0.077 ms] [completed optimizing 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)>] [marking 0x1f7080398cb1 <JSFunction includes (sfi = 0x190e49aa34f9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f7080398cb1 <JSFunction includes (sfi = 0x190e49aa34f9)> using TurboFan] [optimizing 0x1f7080398cb1 <JSFunction includes (sfi = 0x190e49aa34f9)> - took 0.699, 4.568, 0.105 ms] [completed optimizing 0x1f7080398cb1 <JSFunction includes (sfi = 0x190e49aa34f9)>] [marking 0x2386d1d765c9 <JSFunction (sfi = 0x169da6186811)> for optimized recompilation, reason: hot and stable] [compiling method 0x2386d1d772f1 <JSFunction (sfi = 0x169da6186811)> using TurboFan] [optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> - took 2.143, 52.237, 0.319 ms] [completed optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)>] [marking 0x1f7080398761 <JSFunction scanIdentifier (sfi = 0x190e49ab92c9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f7080398761 <JSFunction scanIdentifier (sfi = 0x190e49ab92c9)> using TurboFan] [marking 0x1f7080398451 <JSFunction triggerAsync (sfi = 0x190e49ab9159)> for optimized recompilation, reason: small function] [compiling method 0x1f7080398451 <JSFunction triggerAsync (sfi = 0x190e49ab9159)> using TurboFan] [optimizing 0x2386d1d772f1 <JSFunction (sfi = 0x169da6186811)> - took 1.514, 20.876, 0.095 ms] [completed optimizing 0x2386d1d772f1 <JSFunction (sfi = 0x169da6186811)>] [optimizing 0x1f7080398761 <JSFunction scanIdentifier (sfi = 0x190e49ab92c9)> - took 1.049, 9.578, 0.091 ms] [completed optimizing 0x1f7080398761 <JSFunction scanIdentifier (sfi = 0x190e49ab92c9)>] [optimizing 0x1f7080398451 <JSFunction triggerAsync (sfi = 0x190e49ab9159)> - took 0.278, 3.611, 0.052 ms] [completed optimizing 0x1f7080398451 <JSFunction triggerAsync (sfi = 0x190e49ab9159)>] [marking 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)> using TurboFan] [marking 0x3ca3087a02b9 <JSFunction (sfi = 0x169da61925b1)> for optimized recompilation, reason: hot and stable] [compiling method 0x3ca3087a02b9 <JSFunction (sfi = 0x169da61925b1)> using TurboFan] [optimizing 0x1f7080380299 <JSFunction token (sfi = 0x190e49ab96c1)> - took 4.179, 120.962, 0.190 ms] [completed optimizing 0x1f7080380299 <JSFunction token (sfi = 0x190e49ab96c1)>] [marking 0x1f7080396b19 <JSFunction inES6 (sfi = 0x190e49abac71)> for optimized recompilation, reason: small function] [compiling method 0x1f7080396b19 <JSFunction inES6 (sfi = 0x190e49abac71)> using TurboFan] [optimizing 0x1f7080396b19 <JSFunction inES6 (sfi = 0x190e49abac71)> - took 0.230, 0.604, 0.031 ms] [completed optimizing 0x1f7080396b19 <JSFunction inES6 (sfi = 0x190e49abac71)>] [optimizing 0x3ca3087a02b9 <JSFunction (sfi = 0x169da61925b1)> - took 0.405, 2.407, 0.042 ms] [completed optimizing 0x3ca3087a02b9 <JSFunction (sfi = 0x169da61925b1)>] [marking 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)> for optimized recompilation, reason: hot and stable] [compiling method 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)> using TurboFan] [marking 0x20085fe09541 <JSFunction $tokenizeRow (sfi = 0x20085fe08df9)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe09541 <JSFunction $tokenizeRow (sfi = 0x20085fe08df9)> using TurboFan] [optimizing 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)> - took 1.616, 20.672, 0.097 ms] [completed optimizing 0x1f70803986e1 <JSFunction scanPunctuator (sfi = 0x190e49ab91b9)>] [optimizing 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)> - took 1.812, 8.715, 0.087 ms] [completed optimizing 0x1f7080398661 <JSFunction scanTemplateLiteral (sfi = 0x190e49ab93e9)>] [optimizing 0x20085fe09541 <JSFunction $tokenizeRow (sfi = 0x20085fe08df9)> - took 2.047, 4.017, 0.580 ms] [completed optimizing 0x20085fe09541 <JSFunction $tokenizeRow (sfi = 0x20085fe08df9)>] [marking 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> using TurboFan] [compiling method 0x1f7080380779 <JSFunction lookupBlockType (sfi = 0x190e49a9dd89)> using TurboFan] [optimizing 0x1f7080380779 <JSFunction lookupBlockType (sfi = 0x190e49a9dd89)> - took 1.935, 37.932, 0.114 ms] [optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> - took 2.041, 40.300, 0.106 ms] [completed optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)>] [marking 0x163adb842799 <JSFunction BackgroundTokenizer.$worker (sfi = 0x1f148b5bf7c9)> for optimized recompilation, reason: hot and stable] [compiling method 0x163adb842799 <JSFunction BackgroundTokenizer.$worker (sfi = 0x1f148b5bf7c9)> using TurboFan] [optimizing 0x163adb842799 <JSFunction BackgroundTokenizer.$worker (sfi = 0x1f148b5bf7c9)> - took 1.069, 13.403, 0.094 ms] [completed optimizing 0x163adb842799 <JSFunction BackgroundTokenizer.$worker (sfi = 0x1f148b5bf7c9)>] [marking 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> using TurboFan] [optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)> - took 1.210, 15.285, 0.225 ms] [completed optimizing 0x20085fe00fa1 <JSFunction getLineTokens (sfi = 0x20085fe00ab9)>] [marking 0x20085fe0c959 <JSFunction $getStringScreenWidth (sfi = 0xcf7a5376e99)> for optimized recompilation, reason: hot and stable] [compiling method 0x20085fe0c959 <JSFunction $getStringScreenWidth (sfi = 0xcf7a5376e99)> using TurboFan] [optimizing 0x20085fe0c959 <JSFunction $getStringScreenWidth (sfi = 0xcf7a5376e99)> - took 0.386, 3.098, 0.040 ms] [completed optimizing 0x20085fe0c959 <JSFunction $getStringScreenWidth (sfi = 0xcf7a5376e99)>] [marking 0x030dedfa0da9 <JSFunction (sfi = 0x35212806bfb9)> for optimized recompilation, reason: small function] [compiling method 0x030dedfa0da9 <JSFunction (sfi = 0x35212806bfb9)> using TurboFan] [optimizing 0x030dedfa0da9 <JSFunction (sfi = 0x35212806bfb9)> - took 0.647, 1.213, 0.033 ms] [completed optimizing 0x030dedfa0da9 <JSFunction (sfi = 0x35212806bfb9)>] [compiling method 0x030dedfa0da9 <JSFunction (sfi = 0x35212806bfb9)> using TurboFan OSR] [optimizing 0x030dedfa0da9 <JSFunction (sfi = 0x35212806bfb9)> - took 0.238, 1.106, 0.042 ms]
トラブルシューティング
Software Reporter Tool (software_reporter_tool.exe) が高負荷になる場合の無効化方法
Chrome を起動後、2~30分 CPU が高負荷になり CPU ファンが高回転しだす。
chrome://settings の [詳細設定] - [リセットとクリーンアップ] - [パソコンのクリーンアップ] の画面にある以下の文章の隣にある [検索] ボタンを押すと起動されるプログラムのようである。
有害なソフトウェアの検出 Chrome で、パソコン上の有害なソフトウェアを探して削除することができます
Chrome 76.0.3809.132 では software_reporter_tool.exe は以下の場所にインストールされている。
%USERPROFILE%\AppData\Local\Google\Chrome\User Data\SwReporter\44.215.200.3(バージョン)\software_reporter_tool.exe
Chrome 77.0.3865.75 では software_reporter_tool.exe は以下の場所にインストールされている。
%USERPROFILE%\AppData\Local\Google\Chrome\User Data\SwReporter\44.215.200(バージョン)\software_reporter_tool.exe
※上記のパスのバージョン部分は変わる可能性がある。
無効化するには...
software_reporter_tool.exe を右クリックして「プロパティ」を開く。 - これだとバージョンアップの度に行う必要がある。
%USERPROFILE%\AppData\Local\Google\Chrome\User Data\SwReporter を右クリックして「プロパティ」を開く。
「セキュリティ」タブの [詳細設定] ボタンを押す。
[継承の無効化] ボタンを押して [適用] ボタンを押し、[はい] で答える。
上記の設定で Chrome は software_reporter_tool.exe を実行出来なくなる。