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

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

Issue 2885683002: Remove gpu_times.* performance benchmarks. (Closed)
Patch Set: Rebase. Created 3 years, 7 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
« no previous file with comments | « tools/perf/benchmark.csv ('k') | tools/perf/core/benchmark_sharding_map.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/gpu_times.py
diff --git a/tools/perf/benchmarks/gpu_times.py b/tools/perf/benchmarks/gpu_times.py
deleted file mode 100644
index 11487d94c1c92b6b555c46948e5758557e835c6c..0000000000000000000000000000000000000000
--- a/tools/perf/benchmarks/gpu_times.py
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from core import perf_benchmark
-
-from benchmarks import silk_flags
-
-from telemetry import benchmark
-from telemetry.timeline import chrome_trace_category_filter
-from telemetry.web_perf.metrics import gpu_timeline
-from telemetry.web_perf import timeline_based_measurement
-
-import page_sets
-
-TOPLEVEL_CATEGORIES = ['disabled-by-default-gpu.device',
- 'disabled-by-default-gpu.service']
-
-
-class _GPUTimes(perf_benchmark.PerfBenchmark):
-
- def CreateTimelineBasedMeasurementOptions(self):
- cat_string = ','.join(TOPLEVEL_CATEGORIES)
- cat_filter = chrome_trace_category_filter.ChromeTraceCategoryFilter(
- cat_string)
-
- options = timeline_based_measurement.Options(overhead_level=cat_filter)
- options.SetLegacyTimelineBasedMetrics([gpu_timeline.GPUTimelineMetric()])
- return options
-
-
-@benchmark.Disabled('all') # http://crbug.com/453131, http://crbug.com/527543
-class GPUTimesKeyMobileSites(_GPUTimes):
- """Measures GPU timeline metric on key mobile sites."""
- page_set = page_sets.KeyMobileSitesSmoothPageSet
-
- @classmethod
- def Name(cls):
- return 'gpu_times.key_mobile_sites_smooth'
-
-
-@benchmark.Disabled('all') # http://crbug.com/453131, http://crbug.com/527543
-class GPUTimesGpuRasterizationKeyMobileSites(_GPUTimes):
- """Measures GPU timeline metric on key mobile sites with GPU rasterization.
- """
- page_set = page_sets.KeyMobileSitesSmoothPageSet
-
- def SetExtraBrowserOptions(self, options):
- silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
-
- @classmethod
- def Name(cls):
- return 'gpu_times.gpu_rasterization.key_mobile_sites_smooth'
-
-
-@benchmark.Disabled('all') # http://crbug.com/453131, http://crbug.com/517476
-class GPUTimesTop25Sites(_GPUTimes):
- """Measures GPU timeline metric for the top 25 sites."""
- page_set = page_sets.Top25SmoothPageSet
-
- @classmethod
- def Name(cls):
- return 'gpu_times.top_25_smooth'
-
-
-@benchmark.Disabled('all') # http://crbug.com/453131, http://crbug.com/517476
-class GPUTimesGpuRasterizationTop25Sites(_GPUTimes):
- """Measures GPU timeline metric for the top 25 sites with GPU rasterization.
- """
- page_set = page_sets.Top25SmoothPageSet
-
- def SetExtraBrowserOptions(self, options):
- silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
-
- @classmethod
- def Name(cls):
- return 'gpu_times.gpu_rasterization.top_25_smooth'
« no previous file with comments | « tools/perf/benchmark.csv ('k') | tools/perf/core/benchmark_sharding_map.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698