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

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

Issue 2612363003: DevTools: Show FMP markers on timeline experiment (Closed)
Patch Set: Created 3 years, 11 months 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
Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
index d6769e73213c4285bf08aaa157aebc1303441fbd..1b66ef823dbf88044a995b5e907d788f8ac05fef 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
@@ -44,6 +44,8 @@ Timeline.TimelineController = class {
];
categoriesArray.push(TimelineModel.TimelineModel.Category.LatencyInfo);
+ if (Runtime.experiments.isEnabled('timelineShowFMP'))
+ categoriesArray.push('loading');
if (Runtime.experiments.isEnabled('timelineV8RuntimeCallStats') && options.enableJSSampling)
categoriesArray.push(disabledByDefault('v8.runtime_stats_sampling'));
if (Runtime.experiments.isEnabled('timelineTracingJSProfile') && options.enableJSSampling) {

Powered by Google App Engine
This is Rietveld 408576698