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

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

Issue 2706483003: Add Multi-tab System Health Story (Closed)
Patch Set: Refactoring Benchmark TabSwitching Created 3 years, 10 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 | « no previous file | tools/perf/measurements/tab_switching.py » ('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..9756bb0ff78b41fcfbb89f455442a5e283dd14bf 100644
--- a/tools/perf/benchmarks/tab_switching.py
+++ b/tools/perf/benchmarks/tab_switching.py
@@ -21,7 +21,7 @@ class TabSwitchingTop10(perf_benchmark.PerfBenchmark):
metric. The pages were chosen from Alexa top ranking sites.
"""
test = tab_switching.TabSwitching
- page_set = page_sets.Top10PageSet
+ page_set = page_sets.MultiTabTop10StorySet
@classmethod
def Name(cls):
@@ -44,9 +44,7 @@ class TabSwitchingTypical25(perf_benchmark.PerfBenchmark):
metric. The pages were chosen from Alexa top ranking sites.
"""
test = tab_switching.TabSwitching
-
- def CreateStorySet(self, options):
- return page_sets.Typical25PageSet(run_no_page_interactions=True)
+ page_set = page_sets.MultiTabTypical24StorySet
@classmethod
def Name(cls):
@@ -69,7 +67,7 @@ class TabSwitchingFiveBlankTabs(perf_benchmark.PerfBenchmark):
records the metric. Blank pages are use to detect unnecessary idle wakeups.
"""
test = tab_switching.TabSwitching
- page_set = page_sets.FiveBlankPagesPageSet
+ page_set = page_sets.MultiTabFiveBlankPagesStorySet
options = {'pageset_repeat': 10}
@classmethod
@@ -94,7 +92,7 @@ class TabSwitchingToughEnergyCases(perf_benchmark.PerfBenchmark):
records the metric. The pages were written by hand to stress energy usage.
"""
test = tab_switching.TabSwitching
- page_set = page_sets.ToughEnergyCasesPageSet
+ page_set = page_sets.MultiTabToughEnergyCasesStorySet
options = {'pageset_repeat': 10}
@classmethod
@@ -117,7 +115,7 @@ class TabSwitchingToughImageCases(perf_benchmark.PerfBenchmark):
metric. The pages were chosen by hand to stress the image decoding system.
"""
test = tab_switching.TabSwitching
- page_set = page_sets.ToughImageCasesPageSet
+ page_set = page_sets.MultiTabToughImageCasesStorySet
@classmethod
def Name(cls):
« no previous file with comments | « no previous file | tools/perf/measurements/tab_switching.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698