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 |