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

Side by Side Diff: tools/perf/page_sets/loading_mobile.py

Issue 2363343003: Add loading mobile story set (Closed)
Patch Set: comments addressed and re-recorded Created 4 years, 2 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 | « tools/perf/page_sets/data/loading_mobile_001.wpr.sha1 ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 from page_sets import page_cycler_story
6 from telemetry.page import cache_temperature as cache_temperature_module
7 from telemetry.page import shared_page_state
8 from telemetry import story
9
10
11 class LoadingMobileStorySet(story.StorySet):
12
13 """ A collection of tests to measure loading performance of mobile sites.
14
15 Design doc: https://docs.google.com/document/d/1QKlZIoURAxZk-brrXsKYZl9O8ieqXh t3ogeF9yLNFCI/edit
16 """
17
18 def __init__(self, cache_temperatures=None):
19 super(LoadingMobileStorySet, self).__init__(
20 archive_data_file='data/loading_mobile.json',
21 cloud_storage_bucket=story.PARTNER_BUCKET)
22
23 if cache_temperatures is None:
24 cache_temperatures = [cache_temperature_module.ANY]
25
26 self.AddStories(['global'], [
27 'https://www.google.com/search?q=flower#q=flower+delivery',
28 'https://www.youtube.com/watch?v=MU3YuvNRhVY',
29 # pylint: disable=line-too-long
30 'https://www.google.co.in/search?q=%E0%A4%AB%E0%A5%82%E0%A4%B2&rct=j#q=%E0 %A4%AB%E0%A5%82%E0%A4%B2+%E0%A4%B5%E0%A4%BF%E0%A4%A4%E0%A4%B0%E0%A4%A3',
31 'https://www.google.com.br/search?q=flor#q=Entrega+de+flores&start=10',
32 # Disabled because of crbug.com/653775
33 # pylint: disable=line-too-long
34 # 'https://googleblog.blogspot.jp/2016/02/building-safer-web-for-everyone. html',
35 'https://www.google.co.id/#q=pengiriman+bunga',
36 'https://m.facebook.com/?soft=messages',
37 # pylint: disable=line-too-long
38 'http://g1.globo.com/politica/noticia/2016/02/maioria-do-stf-autoriza-fisc o-obter-dados-bancarios-sem-decisao-judicial.html',
39 # pylint: disable=line-too-long
40 'https://m.baidu.com/s?word=%E9%B2%9C%E8%8A%B1%E9%80%9F%E9%80%92&oq=%E9%B2 %9C%E8%8A%B1',
41 # pylint: disable=line-too-long
42 'http://news.yahoo.com/were-top-10-most-visited-us-national-parks-10532372 7.html',
43 'https://en.m.wikipedia.org/wiki/Solo_Foods',
44 # pylint: disable=line-too-long
45 'http://noticias.bol.uol.com.br/ultimas-noticias/brasil/2016/08/03/tufao-n ida-nao-deixa-vitimas-mas-prejuizos-de-us-43-milhoes.htm',
46 # Disabled because of crbug.com/653775
47 # pylint: disable=line-too-long
48 # 'http://m.detik.com/finance/read/2016/02/19/151843/3146351/1034/ekspor-t ambang-mentah-mau-dibuka-lagi-kalau-sudah-bangun-smelter-bagaimana',
49 'http://www.amazon.com/gp/aw/s/ref=is_s/189-8585431-1246432?k=shoes',
50 # pylint: disable=line-too-long
51 'http://m.tribunnews.com/superskor/2016/08/03/ribuan-polisi-dikerahkan-men gawal-bonek',
52 'http://xw.qq.com/news/20160803025029/NEW2016080302502901',
53 # pylint: disable=line-too-long
54 'http://m.kaskus.co.id/thread/57a03a3214088d91068b4567/inilah-akibat-bersi kap-overprotektif-terhadap-anak/?ref=homelanding&med=hot_thread',
55 'http://www.dailymotion.com/video/x3d1kj5_fallout-4-review_videogames',
56 'https://mobile.twitter.com/scottjehl/status/760618697727803394',
57 'http://m.kapanlagi.com/lirik/artis/anji/kata_siapa/',
58 # pylint: disable=line-too-long
59 'http://olx.co.id/iklan/iphone-6s-64-rose-gold-warna-favorite-IDiSdm5.html #5310a118c3;promoted',
60 # pylint: disable=line-too-long
61 'http://enquiry.indianrail.gov.in/mntes/MntesServlet?action=MainMenu&subAc tion=excep&excpType=EC',
62 ], cache_temperatures)
63
64 self.AddStories(['pwa'], [
65 # pylint: disable=line-too-long
66 'https://www.flipkart.com/big-wing-casuals/p/itmemeageyfn6m9z?lid=LSTSHOEM EAGURG2PHPW18FTBN&pid=SHOEMEAGURG2PHPW',
67 'https://smp.suumo.jp/mansion/tokyo/sc_104/cond/?moreCond=1',
68 # Disabled because of crbug.com/653775
69 # 'https://airhorner.com',
70 'https://guitar-tuner.appspot.com',
71 # Disabled because of crbug.com/653775
72 # 'https://busrouter.sg',
73 'https://andreasbovens.github.io/inbox-attack/',
74 'https://voice-memos.appspot.com',
75 # Disabled because of crbug.com/653775
76 # 'https://wiki-offline.jakearchibald.com/',
77 'https://dev.opera.com/',
78 'https://www.pokedex.org/',
79 'https://2048-opera-pwa.surge.sh/',
80 'https://jakearchibald.github.io/trained-to-thrill/',
81 'https://townwork.net',
82 'https://flipboard.com/topic/yoga',
83 ], cache_temperatures)
84
85 self.AddStories(['tough_ttfmp'], [
86 'http://www.localmoxie.com',
87 'http://www.dawn.com',
88 'http://www.thairath.co.th',
89 'http://www.hashocean.com',
90 'http://www.163.com',
91 ], cache_temperatures)
92
93 self.AddStories(['easy_ttfmp'], [
94 'http://www.slideshare.net',
95 'http://www.bradesco.com.br',
96 'http://www.gsshop.com',
97 'http://www.sbs.co.kr',
98 'http://www.futura-sciences.com',
99 ], cache_temperatures)
100
101 self.AddStories(['tough_tti'], [
102 'http://www.thestar.com.my',
103 'http://www.58pic.com',
104 'http://www.hongkiat.com',
105 'http://www.ebs.in',
106 'http://www.ibicn.com',
107 ], cache_temperatures)
108
109 self.AddStories(['easy_tti'], [
110 'http://www.dramaq.com.tw',
111 'http://www.locanto.in',
112 'http://www.francetvinfo.fr',
113 'http://www.gfk.com',
114 'http://www.mlsmatrix.com'
115 ], cache_temperatures)
116
117 def AddStories(self, labels, urls, cache_temperatures):
118 for url in urls:
119 for temp in cache_temperatures:
120 self.AddStory(page_cycler_story.PageCyclerStory(url, self,
121 shared_page_state_class=shared_page_state.SharedMobilePageState,
122 cache_temperature=temp, labels=labels))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/data/loading_mobile_001.wpr.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698