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

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

Issue 636203002: Task Execution Duration metrics added as a new benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: tools/perf/benchmarks/task_execution_time.py
diff --git a/tools/perf/benchmarks/task_execution_time.py b/tools/perf/benchmarks/task_execution_time.py
new file mode 100644
index 0000000000000000000000000000000000000000..fde3d644ffa590a63a1961517b23fca0a13c1558
--- /dev/null
+++ b/tools/perf/benchmarks/task_execution_time.py
@@ -0,0 +1,22 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
alexclarke 2014/10/08 13:28:28 Is that the right copyright message?
picksi1 2014/10/08 13:47:54 I copied it from smoothness.py, not sure if it sho
petrcermak 2014/10/08 14:01:48 The header should contain the year in which the fi
picksi1 2014/10/08 15:01:37 Done.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import page_sets
+from measurements import task_execution_time
+from telemetry import benchmark
+
+
+@benchmark.Enabled('android')
+class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark):
+ """Measures rendering statistics while scrolling down the key mobile sites.
Sami 2014/10/08 14:51:52 Should we say task execution statistics instead of
picksi1 2014/10/08 15:58:26 Yes! Ctrl-C Ctrl-V error...
+ http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+ test = task_execution_time.TaskExecutionTime
+ page_set = page_sets.KeyMobileSitesPageSet
+
+@benchmark.Enabled('android')
+class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark):
+ """Measures rendering statistics while scrolling the tough scheduling sites.
Sami 2014/10/08 14:51:52 Ditto.
+ http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+ test = task_execution_time.TaskExecutionTime
+ page_set = page_sets.ToughSchedulingCasesPageSet
« no previous file with comments | « no previous file | tools/perf/measurements/task_execution_time.py » ('j') | tools/perf/measurements/task_execution_time.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698