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

Unified Diff: tools/telemetry/telemetry/web_perf/timeline_based_measurement.py

Issue 1254023003: Telemetry Test for WebRTC Rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove mocks to fix border effects on subsequent tests Created 5 years, 2 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 | « tools/telemetry/telemetry/web_perf/metrics/webrtc_rendering_timeline.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/web_perf/timeline_based_measurement.py
diff --git a/tools/telemetry/telemetry/web_perf/timeline_based_measurement.py b/tools/telemetry/telemetry/web_perf/timeline_based_measurement.py
index 8644988a9e07f87d64e37d5ec692d00ee2173674..5be3dea4e17efc8fb923366b32ad081c10170441 100644
--- a/tools/telemetry/telemetry/web_perf/timeline_based_measurement.py
+++ b/tools/telemetry/telemetry/web_perf/timeline_based_measurement.py
@@ -11,6 +11,7 @@ from telemetry.timeline import tracing_options
from telemetry.value import trace
from telemetry.web_perf.metrics import timeline_based_metric
from telemetry.web_perf.metrics import blob_timeline
+from telemetry.web_perf.metrics import webrtc_rendering_timeline
from telemetry.web_perf.metrics import gpu_timeline
from telemetry.web_perf.metrics import indexeddb_timeline
from telemetry.web_perf.metrics import layout
@@ -48,7 +49,8 @@ def _GetAllTimelineBasedMetrics():
blob_timeline.BlobTimelineMetric(),
memory_timeline.MemoryTimelineMetric(),
text_selection.TextSelectionMetric(),
- indexeddb_timeline.IndexedDBTimelineMetric())
+ indexeddb_timeline.IndexedDBTimelineMetric(),
+ webrtc_rendering_timeline.WebRtcRenderingTimelineMetric())
class InvalidInteractions(Exception):
@@ -253,7 +255,6 @@ class TimelineBasedMeasurement(story_test.StoryTest):
"""Configure and start tracing."""
if not platform.tracing_controller.IsChromeTracingSupported():
raise Exception('Not supported')
-
platform.tracing_controller.Start(self._tbm_options.tracing_options,
self._tbm_options.category_filter)
« no previous file with comments | « tools/telemetry/telemetry/web_perf/metrics/webrtc_rendering_timeline.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698