Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / tools / perf / benchmarks / thread_times.py
index 7de578b..159500d 100644 (file)
@@ -8,6 +8,7 @@ import page_sets
 from telemetry import benchmark
 
 
+@benchmark.Enabled('android')
 class ThreadTimesKeySilkCases(benchmark.Benchmark):
   """Measures timeline metrics while performing smoothness action on key silk
   cases."""
@@ -16,6 +17,7 @@ class ThreadTimesKeySilkCases(benchmark.Benchmark):
   options = {"report_silk_results": True}
 
 
+@benchmark.Enabled('android')
 class ThreadTimesFastPathKeySilkCases(benchmark.Benchmark):
   """Measures timeline metrics while performing smoothness action on key silk
   cases using bleeding edge rendering fast paths."""
@@ -35,6 +37,7 @@ class LegacySilkBenchmark(ThreadTimesKeySilkCases):
     return "silk.key_silk_cases"
 
 
+@benchmark.Enabled('android')
 class ThreadTimesFastPathMobileSites(benchmark.Benchmark):
   """Measures timeline metrics while performing smoothness action on
   key mobile sites labeled with fast-path tag.
@@ -54,11 +57,13 @@ class ThreadTimesSimpleMobileSites(benchmark.Benchmark):
 
 class ThreadTimesCompositorCases(benchmark.Benchmark):
   """Measures timeline metrics while performing smoothness action on
-  tough compositor cases.
+  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(benchmark.Benchmark):