Commit 980e53c1 authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

Add browse:media:earth:2020 system health story

This CL was created automatically with tools/perf/update_wpr script

R=crouleau@chromium.org
BUG= chromium:1057645

Change-Id: I1b73fdee07197a178af5628531af6d5bf63e19d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2080251
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: default avatarUlan Degenbaev <ulan@chromium.org>
Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753580}
parent 716b279b
......@@ -56,16 +56,16 @@ speedometer-future,hablich@chromium.org,Blink,,
speedometer2,hablich@chromium.org,Blink,,
speedometer2-future,hablich@chromium.org,Blink,,
startup.mobile,"pasko@chromium.org, chrome-android-perf-status@chromium.org",Speed>Metrics>SystemHealthRegressions,,
system_health.common_desktop,"charliea@chromium.org, sullivan@chromium.org, tdresser@chromium.org, chrome-speed-metrics-dev@chromium.org",Speed>Metrics>SystemHealthRegressions,https://bit.ly/system-health-benchmarks,"2016,2018,2019,2020,accessibility,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy,keyboard_input,scroll,tabs_switching,webgl"
system_health.common_desktop,"charliea@chromium.org, sullivan@chromium.org, tdresser@chromium.org, chrome-speed-metrics-dev@chromium.org",Speed>Metrics>SystemHealthRegressions,https://bit.ly/system-health-benchmarks,"2016,2018,2019,2020,accessibility,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy,keyboard_input,scroll,tabs_switching,wasm,webgl"
system_health.common_mobile,"charliea@chromium.org, sullivan@chromium.org, tdresser@chromium.org, chrome-speed-metrics-dev@chromium.org",Speed>Metrics>SystemHealthRegressions,https://bit.ly/system-health-benchmarks,"2016,2018,2019,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy"
system_health.memory_desktop,"pasko@chromium.org, chrome-android-perf-status@chromium.org",,https://bit.ly/system-health-benchmarks,"2016,2018,2019,2020,accessibility,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy,keyboard_input,scroll,tabs_switching,webgl"
system_health.memory_desktop,"pasko@chromium.org, chrome-android-perf-status@chromium.org",,https://bit.ly/system-health-benchmarks,"2016,2018,2019,2020,accessibility,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy,keyboard_input,scroll,tabs_switching,wasm,webgl"
system_health.memory_mobile,"pasko@chromium.org, chrome-android-perf-status@chromium.org",,https://bit.ly/system-health-benchmarks,"2016,2018,2019,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy"
system_health.webview_startup,"oksamyt@chromium.org, torne@chromium.org, changwan@chromium.org",Mobile>WebView>Perf,,2016
tab_switching.typical_25,vovoy@chromium.org,OS>Performance,,"2016,tabs_switching"
tracing.tracing_with_background_memory_infra,ssid@chromium.org,,,
tracing_perftests,"eseckler@chromium.org, oysteine@chromium.org",Speed>Tracing,,
v8.browsing_desktop,"mythria@chromium.org, ulan@chromium.org",Blink>JavaScript,,"2016,2018,2019,2020,health_check,images,infinite_scroll,international,javascript_heavy,webgl"
v8.browsing_desktop-future,"mythria@chromium.org, ulan@chromium.org",Blink>JavaScript,,"2016,2018,2019,2020,health_check,images,infinite_scroll,international,javascript_heavy,webgl"
v8.browsing_desktop,"mythria@chromium.org, ulan@chromium.org",Blink>JavaScript,,"2016,2018,2019,2020,health_check,images,infinite_scroll,international,javascript_heavy,keyboard_input,wasm,webgl"
v8.browsing_desktop-future,"mythria@chromium.org, ulan@chromium.org",Blink>JavaScript,,"2016,2018,2019,2020,health_check,images,infinite_scroll,international,javascript_heavy,keyboard_input,wasm,webgl"
v8.browsing_mobile,"mythria@chromium.org, ulan@chromium.org",Blink>JavaScript,,"2018,2019,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy"
v8.browsing_mobile-future,"mythria@chromium.org, ulan@chromium.org",Blink>JavaScript,,"2018,2019,emerging_market,health_check,images,infinite_scroll,international,javascript_heavy"
v8.runtime_stats.top_25,"mythria@chromium.org, ulan@chromium.org",Blink>JavaScript,,"cold,hot,warm"
......
......@@ -349,6 +349,9 @@ crbug.com/1017244 [ desktop ] system_health.memory_desktop/browse_accessibility:
crbug.com/1017346 [ desktop ] system_health.memory_desktop/browse:media:youtube:2019 [ Skip ]
crbug.com/1042632 [ win ] system_health.memory_desktop/load:tools:gmail:2019 [ Skip ]
# Memory dumps don't work at the moment for Google Earth, see the issue.
crbug.com/1057035 system_health.memory_desktop/browse:tools:earth:2020 [ Skip ]
# Benchmark: system_health.memory_mobile
crbug.com/1007355 [ android-go android-webview ] system_health.memory_mobile/load:media:imgur:2018 [ Skip ]
crbug.com/877648 [ android ] system_health.memory_mobile/long_running:tools:gmail-background [ Skip ]
......
{
"archives": {
"browse:media:earth:2020": {
"DEFAULT": "system_health_desktop_27ca4caf21.wprgo"
},
"browse:media:flickr_infinite_scroll": {
"DEFAULT": "system_health_desktop_057.wprgo"
},
......@@ -118,6 +121,9 @@
"browse:tools:earth": {
"DEFAULT": "system_health_desktop_050.wprgo"
},
"browse:tools:earth:2020": {
"DEFAULT": "system_health_desktop_df060e3191.wprgo"
},
"browse:tools:maps": {
"DEFAULT": "system_health_desktop_052.wprgo"
},
......
27ca4caf21b57cea9b916d438bcaa11536ac165c
\ No newline at end of file
af9afcafb5876697d516bca52fdc685074f152dd
\ No newline at end of file
......@@ -593,6 +593,79 @@ class YouTubeDesktopStory2019(_MediaBrowsingStory):
TAGS = [story_tags.JAVASCRIPT_HEAVY, story_tags.YEAR_2019]
class EarthDesktopStory2020(_MediaBrowsingStory):
"""Load Google Earth and search for the Empire State Building. Watch the
Empire State Building for a few seconds.
"""
NAME = 'browse:tools:earth:2020'
URL = 'https://earth.google.com/web/'
SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY
TAGS = [
story_tags.YEAR_2020, story_tags.WEBASSEMBLY, story_tags.WEBGL,
story_tags.KEYBOARD_INPUT
]
def __init__(self, story_set, take_memory_measurement):
super(EarthDesktopStory2020, self).__init__(story_set,
take_memory_measurement)
# This script sets values in localStorage that suggest that Google Earth has
# already been visited before. Thereby we can avoid the tutorial at startup.
self.script_to_evaluate_on_commit = '''
localStorage.setItem('earth.out_of_box.url:',
'https://www.google.com/earth/clientassets/oobe/rev0/oobe_r0__$[hl].kml');
localStorage.setItem('earth.out_of_box.major_revision:', '0');
localStorage.setItem('earth.out_of_box.client_version:', '9.3.99.1');
'''
def _DidLoadDocument(self, action_runner):
CHECK_LOADED = (
'document.querySelector("body > earth-app").shadowRoot'
'.querySelector("#earthRelativeElements > earth-view-status")'
'.shadowRoot.querySelector("#percentageText").textContent === {{target}}'
)
action_runner.WaitForJavaScriptCondition(CHECK_LOADED, target="100%")
search_selector = ('(() => document.querySelector("body > earth-app")'
'.shadowRoot.querySelector("#toolbar").shadowRoot'
'.querySelector("#search"))()')
action_runner.ClickElement(element_function=search_selector)
search_text_selector = (
'(() => document.querySelector("body > earth-app")'
'.shadowRoot.querySelector("#drawerContainer").shadowRoot'
'.querySelector("#search").shadowRoot.querySelector("#omnibox")'
'.shadowRoot.querySelector("#queryInput"))()')
action_runner.WaitForElement(element_function=search_text_selector)
action_runner.ClickElement(element_function=search_text_selector)
action_runner.EnterText('Empire State Building')
action_runner.PressKey('Return')
# Wait for 20 seconds so that the Empire State Building is reached and fully
# loaded.
action_runner.Wait(20)
compass_selector = (
'(() => document.querySelector("body > earth-app").shadowRoot'
'.querySelector("#compass").shadowRoot'
'.querySelector("#compassIcon"))()')
action_runner.ClickElement(element_function=compass_selector)
action_runner.Wait(5)
zoom_2d_selector = (
'(() => document.querySelector("body > earth-app").shadowRoot'
'.querySelector("#hoverButton").shadowRoot'
'.querySelector("#hoverButton"))()')
action_runner.ClickElement(element_function=zoom_2d_selector)
# Wait for 5 seconds to load everything. We cannot wait for 100% because of
# the non-deterministic nature of the benchmark.
action_runner.Wait(5)
class YouTubeTVDesktopStory2019(_MediaBrowsingStory):
"""Load a typical YouTube TV video then navigate to a next few videos. Stop
and watch each video for a few seconds.
......
......@@ -50,6 +50,7 @@ TABS_SWITCHING = Tag(
'tabs_switching', 'Story has multi tabs and tabs switching action.')
VIDEO_PLAYBACK = Tag(
'video_playback', 'Story has video playing.')
WEBASSEMBLY = Tag('wasm', 'Story with heavy usages of WebAssembly')
WEBGL = Tag(
'webgl', 'Story has sites with heavy uses of WebGL.')
WEB_STORAGE = Tag(
......
......@@ -48,6 +48,7 @@ browse:social:twitter:2019,,mobile,"2019,health_check"
browse:social:twitter_infinite_scroll:2018,,desktop,"2018,infinite_scroll"
browse:tech:discourse_infinite_scroll:2018,,"desktop,mobile","2018,infinite_scroll"
browse:tools:docs_scrolling,Google Docs scrolling story:,desktop,"2020,javascript_heavy"
browse:tools:earth:2020,Load Google Earth and search for the Empire State Building. Watch the,desktop,"2020,keyboard_input,wasm,webgl"
browse:tools:maps:2019,Google maps story:,"desktop,mobile","2019,emerging_market,health_check,javascript_heavy,webgl"
browse:tools:sheets:2019,,desktop,"2019,health_check,javascript_heavy"
browse_accessibility:media:youtube,Tests interacting with the YouTube home page.,desktop,"2016,accessibility,keyboard_input"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment