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

Unified Diff: telemetry/telemetry/web_perf/metrics/smoothness.py

Issue 1777073002: Revert of [Telemetry] Fix interaction record label warnings (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: Created 4 years, 9 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 | telemetry/telemetry/web_perf/metrics/smoothness_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/web_perf/metrics/smoothness.py
diff --git a/telemetry/telemetry/web_perf/metrics/smoothness.py b/telemetry/telemetry/web_perf/metrics/smoothness.py
index b501dd31795d7f02c3c97769d43ab54d4a1602a6..fee30ff8734cd5a2b2dd2d804cb4df43c0828422 100644
--- a/telemetry/telemetry/web_perf/metrics/smoothness.py
+++ b/telemetry/telemetry/web_perf/metrics/smoothness.py
@@ -55,11 +55,10 @@
renderer_process, model.browser_process, model.surface_flinger_process,
[r.GetBounds() for r in interaction_records])
has_surface_flinger_stats = model.surface_flinger_process is not None
- self._PopulateResultsFromStats(results, stats, has_surface_flinger_stats,
- interaction_records[0].label)
-
- def _PopulateResultsFromStats(
- self, results, stats, has_surface_flinger_stats, tir_label):
+ self._PopulateResultsFromStats(results, stats, has_surface_flinger_stats)
+
+ def _PopulateResultsFromStats(self, results, stats,
+ has_surface_flinger_stats):
page = results.current_page
values = [
self._ComputeQueueingDuration(page, stats),
@@ -78,7 +77,6 @@
values += self._ComputeSurfaceFlingerMetric(page, stats)
for v in values:
- v.tir_label = tir_label
results.AddValue(v)
def _HasEnoughFrames(self, list_of_frame_timestamp_lists):
« no previous file with comments | « no previous file | telemetry/telemetry/web_perf/metrics/smoothness_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698