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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js

Issue 2517463005: Timeline: nuke flow events experiment (Closed)
Patch Set: also removed flow events support from FlameChart 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @typedef {!{range: !Protocol.CSS.SourceRange, styleSheetId: !Protocol.CSS.St yleSheetId, wasUsed: boolean}} */ 5 /** @typedef {!{range: !Protocol.CSS.SourceRange, styleSheetId: !Protocol.CSS.St yleSheetId, wasUsed: boolean}} */
6 SDK.CSSModel.RuleUsage; 6 SDK.CSSModel.RuleUsage;
7 7
8 /** 8 /**
9 * @implements {SDK.TargetManager.Observer} 9 * @implements {SDK.TargetManager.Observer}
10 * @implements {SDK.TracingManagerClient} 10 * @implements {SDK.TracingManagerClient}
(...skipping 29 matching lines...) Expand all
40 function disabledByDefault(category) { 40 function disabledByDefault(category) {
41 return 'disabled-by-default-' + category; 41 return 'disabled-by-default-' + category;
42 } 42 }
43 var categoriesArray = [ 43 var categoriesArray = [
44 '-*', 'devtools.timeline', 'v8.execute', disabledByDefault('devtools.timel ine'), 44 '-*', 'devtools.timeline', 'v8.execute', disabledByDefault('devtools.timel ine'),
45 disabledByDefault('devtools.timeline.frame'), SDK.TracingModel.TopLevelEve ntCategory, 45 disabledByDefault('devtools.timeline.frame'), SDK.TracingModel.TopLevelEve ntCategory,
46 TimelineModel.TimelineModel.Category.Console, TimelineModel.TimelineModel. Category.UserTiming 46 TimelineModel.TimelineModel.Category.Console, TimelineModel.TimelineModel. Category.UserTiming
47 ]; 47 ];
48 categoriesArray.push(TimelineModel.TimelineModel.Category.LatencyInfo); 48 categoriesArray.push(TimelineModel.TimelineModel.Category.LatencyInfo);
49 49
50 if (Runtime.experiments.isEnabled('timelineFlowEvents'))
51 categoriesArray.push(disabledByDefault('toplevel.flow'), disabledByDefault ('ipc.flow'));
52
53 if (Runtime.experiments.isEnabled('timelineV8RuntimeCallStats') && enableJSS ampling) 50 if (Runtime.experiments.isEnabled('timelineV8RuntimeCallStats') && enableJSS ampling)
54 categoriesArray.push(disabledByDefault('v8.runtime_stats_sampling')); 51 categoriesArray.push(disabledByDefault('v8.runtime_stats_sampling'));
55 if (Runtime.experiments.isEnabled('timelineTracingJSProfile') && enableJSSam pling) { 52 if (Runtime.experiments.isEnabled('timelineTracingJSProfile') && enableJSSam pling) {
56 categoriesArray.push(disabledByDefault('v8.cpu_profiler')); 53 categoriesArray.push(disabledByDefault('v8.cpu_profiler'));
57 if (Common.moduleSetting('highResolutionCpuProfiling').get()) 54 if (Common.moduleSetting('highResolutionCpuProfiling').get())
58 categoriesArray.push(disabledByDefault('v8.cpu_profiler.hires')); 55 categoriesArray.push(disabledByDefault('v8.cpu_profiler.hires'));
59 } 56 }
60 if (captureCauses || enableJSSampling) 57 if (captureCauses || enableJSSampling)
61 categoriesArray.push(disabledByDefault('devtools.timeline.stack')); 58 categoriesArray.push(disabledByDefault('devtools.timeline.stack'));
62 if (captureCauses && Runtime.experiments.isEnabled('timelineInvalidationTrac king')) 59 if (captureCauses && Runtime.experiments.isEnabled('timelineInvalidationTrac king'))
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 this._delegate.recordingProgress(usage); 300 this._delegate.recordingProgress(usage);
304 } 301 }
305 302
306 /** 303 /**
307 * @param {number} progress 304 * @param {number} progress
308 * @override 305 * @override
309 */ 306 */
310 eventsRetrievalProgress(progress) { 307 eventsRetrievalProgress(progress) {
311 this._delegate.loadingProgress(progress); 308 this._delegate.loadingProgress(progress);
312 } 309 }
313 }; 310 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698