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

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

Issue 2761363004: Remove seldom used tab_swtiching test cases (Closed)
Patch Set: Created 3 years, 9 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 | « testing/buildbot/chromium.perf.fyi.json ('k') | tools/perf/page_sets/data/tough_energy_cases.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/tab_switching.py
diff --git a/tools/perf/benchmarks/tab_switching.py b/tools/perf/benchmarks/tab_switching.py
index 6962989cf54d46ac905afbc4b47f433169d80dff..ed75b503d7bf2c2423327bcf3cd9e18baf88f3a4 100644
--- a/tools/perf/benchmarks/tab_switching.py
+++ b/tools/perf/benchmarks/tab_switching.py
@@ -10,29 +10,6 @@ from telemetry import benchmark
@benchmark.Enabled('has tabs')
-@benchmark.Disabled('android') # http://crbug.com/460084
-@benchmark.Disabled('mac-reference') # http://crbug.com/634378
-class TabSwitchingTop10(perf_benchmark.PerfBenchmark):
- """This test records the MPArch.RWH_TabSwitchPaintDuration histogram.
-
- The histogram is a measure of the time between when a tab was requested to be
- shown, and when first paint occurred. The script opens 10 pages in different
- tabs, waits for them to load, and then switches to each tab and records the
- metric. The pages were chosen from Alexa top ranking sites.
- """
- test = tab_switching.TabSwitching
- page_set = page_sets.Top10PageSet
-
- @classmethod
- def Name(cls):
- return 'tab_switching.top_10'
-
- @classmethod
- def ShouldTearDownStateAfterEachStoryRun(cls):
- return False
-
-
-@benchmark.Enabled('has tabs')
@benchmark.Disabled('mac-reference') # http://crbug.com/612774
@benchmark.Disabled('android') # http://crbug.com/460084
class TabSwitchingTypical25(perf_benchmark.PerfBenchmark):
@@ -55,74 +32,3 @@ class TabSwitchingTypical25(perf_benchmark.PerfBenchmark):
@classmethod
def ShouldTearDownStateAfterEachStoryRun(cls):
return False
-
-
-@benchmark.Disabled('android') # http://crbug.com/460084
-@benchmark.Disabled('mac-reference') # http://crbug.com/634360
-@benchmark.Enabled('has tabs')
-class TabSwitchingFiveBlankTabs(perf_benchmark.PerfBenchmark):
- """This test records the MPArch.RWH_TabSwitchPaintDuration histogram.
-
- The histogram is a measure of the time between when a tab was requested to be
- shown, and when first paint occurred. The script opens 5 blank pages in
- different tabs, waits for them to load, and then switches to each tab and
- records the metric. Blank pages are use to detect unnecessary idle wakeups.
- """
- test = tab_switching.TabSwitching
- page_set = page_sets.FiveBlankPagesPageSet
- options = {'pageset_repeat': 10}
-
- @classmethod
- def Name(cls):
- return 'tab_switching.five_blank_pages'
-
- @classmethod
- def ShouldTearDownStateAfterEachStoryRun(cls):
- return False
-
-
-@benchmark.Enabled('has tabs')
-# http://crbug.com/460084, http://crbug.com/488067, http://crbug.com/634347
-# win: http://crbug.com/677311
-@benchmark.Disabled('android', 'linux', 'mac-reference', 'win')
-class TabSwitchingToughEnergyCases(perf_benchmark.PerfBenchmark):
- """This test records the MPArch.RWH_TabSwitchPaintDuration histogram.
-
- The histogram is a measure of the time between when a tab was requested to be
- shown, and when first paint occurred. The script opens each page in a
- different tab, waits for them to load, and then switches to each tab and
- records the metric. The pages were written by hand to stress energy usage.
- """
- test = tab_switching.TabSwitching
- page_set = page_sets.ToughEnergyCasesPageSet
- options = {'pageset_repeat': 10}
-
- @classmethod
- def Name(cls):
- return 'tab_switching.tough_energy_cases'
-
- @classmethod
- def ShouldTearDownStateAfterEachStoryRun(cls):
- return False
-
-
-@benchmark.Enabled('has tabs')
-@benchmark.Disabled('android') # http://crbug.com/460084
-class TabSwitchingToughImageCases(perf_benchmark.PerfBenchmark):
- """This test records the MPArch.RWH_TabSwitchPaintDuration histogram.
-
- The histogram is a measure of the time between when a tab was requested to be
- shown, and when first paint occurred. The script opens each page in different
- tabs, waits for them to load, and then switches to each tab and records the
- metric. The pages were chosen by hand to stress the image decoding system.
- """
- test = tab_switching.TabSwitching
- page_set = page_sets.ToughImageCasesPageSet
-
- @classmethod
- def Name(cls):
- return 'tab_switching.tough_image_cases'
-
- @classmethod
- def ShouldTearDownStateAfterEachStoryRun(cls):
- return False
« no previous file with comments | « testing/buildbot/chromium.perf.fyi.json ('k') | tools/perf/page_sets/data/tough_energy_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698