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

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

Issue 737403002: Revert of telemetry: Remove command line args from page test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « tools/perf/benchmarks/startup.py ('k') | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/thread_times.py
diff --git a/tools/perf/benchmarks/thread_times.py b/tools/perf/benchmarks/thread_times.py
index afd424650dfcd9b805715efdcd950fdab116c888..dc87920bebd321b2229f0a324976c80ec659ab8f 100644
--- a/tools/perf/benchmarks/thread_times.py
+++ b/tools/perf/benchmarks/thread_times.py
@@ -7,20 +7,12 @@
import page_sets
from telemetry import benchmark
-class _ThreadTimes(benchmark.Benchmark):
- @classmethod
- def AddBenchmarkCommandLineArgs(cls, parser):
- parser.add_option('--report-silk-details', action='store_true',
- help='Report details relevant to silk.')
-
- def CreatePageTest(self, options):
- return thread_times.ThreadTimes(options.report_silk_details)
-
@benchmark.Enabled('android')
-class ThreadTimesKeySilkCases(_ThreadTimes):
+class ThreadTimesKeySilkCases(benchmark.Benchmark):
"""Measures timeline metrics while performing smoothness action on key silk
cases."""
+ test = thread_times.ThreadTimes
page_set = page_sets.KeySilkCasesPageSet
@@ -33,32 +25,36 @@
@benchmark.Enabled('android')
-class ThreadTimesFastPathMobileSites(_ThreadTimes):
+class ThreadTimesFastPathMobileSites(benchmark.Benchmark):
"""Measures timeline metrics while performing smoothness action on
key mobile sites labeled with fast-path tag.
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+ test = thread_times.ThreadTimes
page_set = page_sets.KeyMobileSitesPageSet
options = {'page_label_filter' : 'fastpath'}
@benchmark.Enabled('android')
-class ThreadTimesSimpleMobileSites(_ThreadTimes):
+class ThreadTimesSimpleMobileSites(benchmark.Benchmark):
"""Measures timeline metric using smoothness action on simple mobile sites
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+ test = thread_times.ThreadTimes
page_set = page_sets.SimpleMobileSitesPageSet
-class ThreadTimesCompositorCases(_ThreadTimes):
+class ThreadTimesCompositorCases(benchmark.Benchmark):
"""Measures timeline metrics while performing smoothness action on
tough compositor cases, using software rasterization.
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+ test = thread_times.ThreadTimes
page_set = page_sets.ToughCompositorCasesPageSet
def CustomizeBrowserOptions(self, options):
silk_flags.CustomizeBrowserOptionsForSoftwareRasterization(options)
@benchmark.Enabled('android')
-class ThreadTimesPolymer(_ThreadTimes):
+class ThreadTimesPolymer(benchmark.Benchmark):
"""Measures timeline metrics while performing smoothness action on
Polymer cases."""
+ test = thread_times.ThreadTimes
page_set = page_sets.PolymerPageSet
« no previous file with comments | « tools/perf/benchmarks/startup.py ('k') | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698