Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js

Issue 2513483002: DevTools: introduce perf monitor actions w/ time budget for violations that are event handlers. (Closed)
Patch Set: expose locations instead of functions Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/inspector/browser_protocol.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
index d276b6f24da7b49bb981b3d636ad71b5083ebc10..ccdaf66bb2e2135f738d5f528fca3311d62f4db1 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
@@ -52,8 +52,9 @@ SDK.ConsoleModel = class extends SDK.SDKModel {
this._logAgent.enable();
if (!InspectorFrontendHost.isUnderTest()) {
this._logAgent.startViolationsReport([
- {name: 'longTask', threshold: 50}, {name: 'longLayout', threshold: 30},
- {name: 'blockedEvent', threshold: 100}, {name: 'blockedParser', threshold: -1}
+ {name: 'longTask', threshold: 200}, {name: 'longLayout', threshold: 30},
+ {name: 'blockedEvent', threshold: 100}, {name: 'blockedParser', threshold: -1},
+ {name: 'handler', threshold: 150}, {name: 'recurringHandler', threshold: 50}
]);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/browser_protocol.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698