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

Unified Diff: tools/perf/page_sets/tough_animation_cases.py

Issue 365613002: Add Web Animations perf tests to tough_animation_cases page set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style inconsistencies Created 6 years, 6 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/page_sets/tough_animation_cases/resources/perftesthelper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_animation_cases.py
diff --git a/tools/perf/page_sets/tough_animation_cases.py b/tools/perf/page_sets/tough_animation_cases.py
index e14fbe84b642dd8f872d36bf3f91c14944de7d90..9f98bcac559c8b38b4d6d4b6fa9f799e31c4a2ee 100644
--- a/tools/perf/page_sets/tough_animation_cases.py
+++ b/tools/perf/page_sets/tough_animation_cases.py
@@ -17,7 +17,7 @@ class ToughAnimationCasesPage(page_module.Page):
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
if self._need_measurement_ready:
- action_runner.WaitForJavaScriptCondition('measurementReady')
+ action_runner.WaitForJavaScriptCondition('window.measurementReady')
def RunSmoothness(self, action_runner):
action_runner.Wait(10)
@@ -56,7 +56,32 @@ class ToughAnimationCasesPageSet(page_set_module.PageSet):
# animatable properties.
'file://tough_animation_cases/balls_css_transition_all_properties.html',
# pylint: disable=C0301
- 'file://tough_animation_cases/overlay_background_color_css_transitions.html'
+ 'file://tough_animation_cases/overlay_background_color_css_transitions.html',
+ # Why: Tests Web Animations running with hundreds of keyframes.
+ 'file://tough_animation_cases/web_animations_many_keyframes.html?N=0032',
+ 'file://tough_animation_cases/web_animations_many_keyframes.html?N=0100',
+ 'file://tough_animation_cases/web_animations_many_keyframes.html?N=0316',
+ 'file://tough_animation_cases/web_animations_many_keyframes.html?N=1000',
+ # Why: Tests many Web Animations starting simultaneously.
+ 'file://tough_animation_cases/web_animations_simultaneous.html?N=0032',
+ 'file://tough_animation_cases/web_animations_simultaneous.html?N=0100',
+ 'file://tough_animation_cases/web_animations_simultaneous.html?N=0316',
+ 'file://tough_animation_cases/web_animations_simultaneous.html?N=1000',
+ # Why: Tests many Web Animations chaining off the onfinish event.
+ 'file://tough_animation_cases/web_animations_staggered_chaining.html?N=0032',
+ 'file://tough_animation_cases/web_animations_staggered_chaining.html?N=0100',
+ 'file://tough_animation_cases/web_animations_staggered_chaining.html?N=0316',
+ 'file://tough_animation_cases/web_animations_staggered_chaining.html?N=1000',
+ # Why: Tests many Web Animations running with infinite iterations.
+ 'file://tough_animation_cases/web_animations_staggered_infinite_iterations.html?N=0032',
+ 'file://tough_animation_cases/web_animations_staggered_infinite_iterations.html?N=0100',
+ 'file://tough_animation_cases/web_animations_staggered_infinite_iterations.html?N=0316',
+ 'file://tough_animation_cases/web_animations_staggered_infinite_iterations.html?N=1000',
+ # Why: Tests many Web Animations all starting at different times.
+ 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=0032',
+ 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=0100',
+ 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=0316',
+ 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=1000',
]
for url in urls_list_one:
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_animation_cases/resources/perftesthelper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698