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

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

Issue 871913004: New page set added to include pathologically bad and janky sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/benchmarks/task_execution_time.py
diff --git a/tools/perf/benchmarks/task_execution_time.py b/tools/perf/benchmarks/task_execution_time.py
index 7fd2617ad7180fc3294b9ac29c7ddbdac59666a9..b8560647ca54b757b2e2a8d3ed9dcfe6c1cc4d51 100644
--- a/tools/perf/benchmarks/task_execution_time.py
+++ b/tools/perf/benchmarks/task_execution_time.py
@@ -2,15 +2,19 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
picksi1 2015/01/23 14:43:46 gpylint suggested these imports should be re-order
-import page_sets
from measurements import task_execution_time
+import page_sets
from telemetry import benchmark
@benchmark.Enabled('android')
class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark):
+
picksi1 2015/01/23 14:43:46 gpylint wants blanks lines after the class definit
"""Measures task execution statistics while scrolling down key mobile sites.
- http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+
+ http://www.chromium.org/developers/design-documents/rendering-benchmarks
+ """
+
test = task_execution_time.TaskExecutionTime
page_set = page_sets.KeyMobileSitesSmoothPageSet
@@ -21,11 +25,31 @@ class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark):
@benchmark.Enabled('android')
class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark):
+
"""Measures task execution statistics while scrolling tough scheduling sites.
- http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+
+ http://www.chromium.org/developers/design-documents/rendering-benchmarks.
+ """
+
test = task_execution_time.TaskExecutionTime
page_set = page_sets.ToughSchedulingCasesPageSet
+
@classmethod
def Name(cls):
return 'task_execution_time.tough_scheduling_cases'
+
+@benchmark.Enabled('android')
+class TaskExecutionTimePathologicalMobileSites(benchmark.Benchmark):
+
+ """Measures task execution statistics while scrolling pathological sites.
+
+ http://www.chromium.org/developers/design-documents/rendering-benchmarks.
+ """
+
+ test = task_execution_time.TaskExecutionTime
+ page_set = page_sets.PathologicalMobileSitesPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'task_execution_time.pathological_mobile_sites'

Powered by Google App Engine
This is Rietveld 408576698