| Index: tools/telemetry/telemetry/web_perf/timeline_interaction_record.py
|
| diff --git a/tools/telemetry/telemetry/web_perf/timeline_interaction_record.py b/tools/telemetry/telemetry/web_perf/timeline_interaction_record.py
|
| index 4c3462f16515dc2d2bccbd3f08254caf22809ff7..89da65e2bf72f70269fdc886dc153d4d6a541261 100644
|
| --- a/tools/telemetry/telemetry/web_perf/timeline_interaction_record.py
|
| +++ b/tools/telemetry/telemetry/web_perf/timeline_interaction_record.py
|
| @@ -7,8 +7,6 @@ import re
|
| import telemetry.timeline.bounds as timeline_bounds
|
| from telemetry import decorators
|
|
|
| -# Enables the fast metric for this interaction
|
| -IS_FAST = 'is_fast'
|
| # Enables the responsiveness metric for this interaction
|
| IS_RESPONSIVE = 'is_responsive'
|
| # Enables the smoothness metric for this interaction
|
| @@ -17,7 +15,6 @@ IS_SMOOTH = 'is_smooth'
|
| REPEATABLE = 'repeatable'
|
|
|
| METRICS = [
|
| - IS_FAST,
|
| IS_RESPONSIVE,
|
| IS_SMOOTH
|
| ]
|
| @@ -88,7 +85,7 @@ class TimelineInteractionRecord(object):
|
| is currently done by pushing markers into the console.time/timeEnd API: this
|
| for instance can be issued in JS:
|
|
|
| - var str = 'Interaction.SendEmail/is_smooth,is_responsive,is_fast';
|
| + var str = 'Interaction.SendEmail/is_smooth,is_responsive';
|
| console.time(str);
|
| setTimeout(function() {
|
| console.timeEnd(str);
|
| @@ -96,11 +93,10 @@ class TimelineInteractionRecord(object):
|
|
|
| When run with perf.measurements.timeline_based_measurement running, this will
|
| then cause a TimelineInteractionRecord to be created for this range with
|
| - smoothness, responsive, and fast metrics reported for the marked up 1000ms
|
| + smoothness and responsive metrics reported for the marked up 1000ms
|
| time-range.
|
|
|
| The valid interaction flags are:
|
| - * is_fast: Enables the fast metric
|
| * is_responsive: Enables the responsiveness metric
|
| * is_smooth: Enables the smoothness metric
|
| * repeatable: Allows other interactions to use the same label
|
| @@ -128,10 +124,6 @@ class TimelineInteractionRecord(object):
|
| return self._end
|
|
|
| @property
|
| - def is_fast(self):
|
| - return IS_FAST in self._flags
|
| -
|
| - @property
|
| def is_responsive(self):
|
| return IS_RESPONSIVE in self._flags
|
|
|
|
|