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

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

Issue 1202313002: Adding a canvas telemetry test that uses a large font set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_canvas_cases/canvas-font-cycler.html » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 7
8 class ToughCanvasCasesPage(page_module.Page): 8 class ToughCanvasCasesPage(page_module.Page):
9 9
10 def __init__(self, url, page_set): 10 def __init__(self, url, page_set):
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 'http://ie.microsoft.com/testdrive/Performance/AsteroidBelt/Default.html', 73 'http://ie.microsoft.com/testdrive/Performance/AsteroidBelt/Default.html',
74 'http://www.smashcat.org/av/canvas_test/', 74 'http://www.smashcat.org/av/canvas_test/',
75 # pylint: disable=C0301 75 # pylint: disable=C0301
76 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= canvas_sprite&back=canvas', 76 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= canvas_sprite&back=canvas',
77 # pylint: disable=C0301 77 # pylint: disable=C0301
78 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= image_with_shadow&back=image', 78 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= image_with_shadow&back=image',
79 # pylint: disable=C0301 79 # pylint: disable=C0301
80 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= filled_path&back=gradient', 80 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= filled_path&back=gradient',
81 # pylint: disable=C0301 81 # pylint: disable=C0301
82 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= text&back=white&ball_count=15', 82 'file://tough_canvas_cases/canvas2d_balls_common/bouncing_balls.html?ball= text&back=white&ball_count=15',
83 'file://tough_canvas_cases/canvas-font-cycler.html',
83 'file://tough_canvas_cases/canvas-animation-no-clear.html', 84 'file://tough_canvas_cases/canvas-animation-no-clear.html',
84 'file://../../../chrome/test/data/perf/canvas_bench/single_image.html', 85 'file://../../../chrome/test/data/perf/canvas_bench/single_image.html',
85 'file://../../../chrome/test/data/perf/canvas_bench/many_images.html' 86 'file://../../../chrome/test/data/perf/canvas_bench/many_images.html'
86 ] 87 ]
87 88
88 for url in urls_list: 89 for url in urls_list:
89 self.AddUserStory(ToughCanvasCasesPage(url, self)) 90 self.AddUserStory(ToughCanvasCasesPage(url, self))
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_canvas_cases/canvas-font-cycler.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698