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

Unified Diff: tools/perf/measurements/task_execution_time.py

Issue 809393002: Added support for improvement_direction to relevant values, which is propogated to chartjson. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linter issues Created 5 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: tools/perf/measurements/task_execution_time.py
diff --git a/tools/perf/measurements/task_execution_time.py b/tools/perf/measurements/task_execution_time.py
index f33a85f1474a42f03f4107bd284f09f13dc86b00..d36fcc0a4c35b15ad831344f81a569b6f9e66a0c 100644
--- a/tools/perf/measurements/task_execution_time.py
+++ b/tools/perf/measurements/task_execution_time.py
@@ -7,6 +7,7 @@ from telemetry.core.platform import tracing_options
from telemetry.timeline.model import TimelineModel
from telemetry.page import page_test
from telemetry.util import statistics
+from telemetry.value import improvement_direction
from telemetry.value import scalar
_CATEGORIES = ['webkit.console',
@@ -56,7 +57,8 @@ class TaskExecutionTime(page_test.PageTest):
task.key,
'ms',
task.median_self_duration,
- description = 'Slowest tasks'))
+ description = 'Slowest tasks',
+ improvement_direction=improvement_direction.DOWN))
@staticmethod
def GetTasks(process):

Powered by Google App Engine
This is Rietveld 408576698