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

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

Issue 2459573006: [DevTools] Show V8 Runtime Call Stats on timeline (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 5 /**
6 * @constructor 6 * @constructor
7 * @param {!WebInspector.Target} target 7 * @param {!WebInspector.Target} target
8 * @param {!WebInspector.TimelineLifecycleDelegate} delegate 8 * @param {!WebInspector.TimelineLifecycleDelegate} delegate
9 * @param {!WebInspector.TracingModel} tracingModel 9 * @param {!WebInspector.TracingModel} tracingModel
10 * @implements {WebInspector.TargetManager.Observer} 10 * @implements {WebInspector.TargetManager.Observer}
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 WebInspector.TracingModel.TopLevelEventCategory, 44 WebInspector.TracingModel.TopLevelEventCategory,
45 WebInspector.TimelineModel.Category.Console, 45 WebInspector.TimelineModel.Category.Console,
46 WebInspector.TimelineModel.Category.UserTiming 46 WebInspector.TimelineModel.Category.UserTiming
47 ]; 47 ];
48 categoriesArray.push(WebInspector.TimelineModel.Category.LatencyInfo); 48 categoriesArray.push(WebInspector.TimelineModel.Category.LatencyInfo);
49 49
50 if (Runtime.experiments.isEnabled("timelineFlowEvents")) { 50 if (Runtime.experiments.isEnabled("timelineFlowEvents")) {
51 categoriesArray.push(disabledByDefault("toplevel.flow"), 51 categoriesArray.push(disabledByDefault("toplevel.flow"),
52 disabledByDefault("ipc.flow")); 52 disabledByDefault("ipc.flow"));
53 } 53 }
54 if (Runtime.experiments.isEnabled("timelineV8RuntimeCallStats") && enabl eJSSampling)
55 categoriesArray.push(disabledByDefault("v8.runtime_stats"));
54 if (Runtime.experiments.isEnabled("timelineTracingJSProfile") && enableJ SSampling) { 56 if (Runtime.experiments.isEnabled("timelineTracingJSProfile") && enableJ SSampling) {
55 categoriesArray.push(disabledByDefault("v8.cpu_profiler")); 57 categoriesArray.push(disabledByDefault("v8.cpu_profiler"));
56 if (WebInspector.moduleSetting("highResolutionCpuProfiling").get()) 58 if (WebInspector.moduleSetting("highResolutionCpuProfiling").get())
57 categoriesArray.push(disabledByDefault("v8.cpu_profiler.hires")) ; 59 categoriesArray.push(disabledByDefault("v8.cpu_profiler.hires")) ;
58 } 60 }
59 if (captureCauses || enableJSSampling) 61 if (captureCauses || enableJSSampling)
60 categoriesArray.push(disabledByDefault("devtools.timeline.stack")); 62 categoriesArray.push(disabledByDefault("devtools.timeline.stack"));
61 if (captureCauses && Runtime.experiments.isEnabled("timelineInvalidation Tracking")) 63 if (captureCauses && Runtime.experiments.isEnabled("timelineInvalidation Tracking"))
62 categoriesArray.push(disabledByDefault("devtools.timeline.invalidati onTracking")); 64 categoriesArray.push(disabledByDefault("devtools.timeline.invalidati onTracking"));
63 if (capturePictures) { 65 if (capturePictures) {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 289
288 /** 290 /**
289 * @param {number} progress 291 * @param {number} progress
290 * @override 292 * @override
291 */ 293 */
292 eventsRetrievalProgress: function(progress) 294 eventsRetrievalProgress: function(progress)
293 { 295 {
294 this._delegate.loadingProgress(progress); 296 this._delegate.loadingProgress(progress);
295 } 297 }
296 }; 298 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698