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

Side by Side Diff: tools/perf/benchmarks/page_cycler_v2.py

Issue 2132953002: [PCv2] migrate page_cycler_v2.intl_ar_fa_he (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/intl_ar_fa_he.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """The page cycler v2. 5 """The page cycler v2.
6 6
7 For details, see design doc: 7 For details, see design doc:
8 https://docs.google.com/document/d/1EZQX-x3eEphXupiX-Hq7T4Afju5_sIdxPWYetj7ynd0 8 https://docs.google.com/document/d/1EZQX-x3eEphXupiX-Hq7T4Afju5_sIdxPWYetj7ynd0
9 """ 9 """
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 @classmethod 55 @classmethod
56 def Name(cls): 56 def Name(cls):
57 return 'page_cycler_v2.typical_25' 57 return 'page_cycler_v2.typical_25'
58 58
59 def CreateStorySet(self, options): 59 def CreateStorySet(self, options):
60 return page_sets.Typical25PageSet(run_no_page_interactions=True, 60 return page_sets.Typical25PageSet(run_no_page_interactions=True,
61 cache_temperatures=[ 61 cache_temperatures=[
62 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) 62 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
63 63
64 64
65 class PageCyclerV2IntlArFaHe(_PageCyclerV2):
66 """Page load time for a variety of pages in Arabic, Farsi and Hebrew.
67
68 Runs against pages recorded in April, 2013.
69 """
70 page_set = page_sets.IntlArFaHePageSet
71
72 @classmethod
73 def Name(cls):
74 return 'page_cycler_v2.intl_ar_fa_he'
75
76 def CreateStorySet(self, options):
77 return page_sets.IntlArFaHePageSet(cache_temperatures=[
78 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
79
80
65 class PageCyclerV2IntlJaZh(_PageCyclerV2): 81 class PageCyclerV2IntlJaZh(_PageCyclerV2):
66 """Page load time benchmark for a variety of pages in Japanese and Chinese. 82 """Page load time benchmark for a variety of pages in Japanese and Chinese.
67 83
68 Runs against pages recorded in April, 2013. 84 Runs against pages recorded in April, 2013.
69 """ 85 """
70 86
71 @classmethod 87 @classmethod
72 def Name(cls): 88 def Name(cls):
73 return 'page_cycler_v2.intl_ja_zh' 89 return 'page_cycler_v2.intl_ja_zh'
74 90
75 def CreateStorySet(self, options): 91 def CreateStorySet(self, options):
76 return page_sets.IntlJaZhPageSet(cache_temperatures=[ 92 return page_sets.IntlJaZhPageSet(cache_temperatures=[
77 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) 93 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/intl_ar_fa_he.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698