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

Unified Diff: tools/perf/benchmarks/page_cycler_v2.py

Issue 2049593002: [PCv2] Add tracing category needed for computing ttfmp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/page_cycler_v2.py
diff --git a/tools/perf/benchmarks/page_cycler_v2.py b/tools/perf/benchmarks/page_cycler_v2.py
index 28a34d05ad9c0fa4dbb16d0f6bf56c029aeb89d1..af3322969195ffdd5dbf82a205cb16fae1262b99 100644
--- a/tools/perf/benchmarks/page_cycler_v2.py
+++ b/tools/perf/benchmarks/page_cycler_v2.py
@@ -22,6 +22,9 @@ class _PageCyclerV2(perf_benchmark.PerfBenchmark):
cat_filter = tracing_category_filter.TracingCategoryFilter(
filter_string='*,blink.console,navigation,blink.user_timing,loading')
+ # Needed for first-meaningful-paint computation.
+ cat_filter.AddIncludedCategory('disabled-by-default-blink.debug.layout')
Kunihiko Sakamoto 2016/06/08 01:56:50 We also need devtools.timeline category for the pa
kouhei (in TOK) 2016/06/08 01:59:07 Done.
+
tbm_options = timeline_based_measurement.Options(
overhead_level=cat_filter)
tbm_options.SetTimelineBasedMetric('firstPaintMetric')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698