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

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

Issue 800863003: Kill PageSet.AddPage and its remaining usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « content/test/gpu/page_sets/pixel_tests.py ('k') | tools/perf/measurements/repaint_unittest.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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 """Runs a Google Maps performance test. 5 """Runs a Google Maps performance test.
6 Rerforms several common navigation actions on the map (pan, zoom, rotate)""" 6 Rerforms several common navigation actions on the map (pan, zoom, rotate)"""
7 7
8 import os 8 import os
9 import re 9 import re
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 """Basic Google Maps benchmarks.""" 45 """Basic Google Maps benchmarks."""
46 test = _MapsMeasurement 46 test = _MapsMeasurement
47 47
48 def CreatePageSet(self, options): 48 def CreatePageSet(self, options):
49 page_set_path = os.path.join( 49 page_set_path = os.path.join(
50 util.GetChromiumSrcDir(), 'tools', 'perf', 'page_sets') 50 util.GetChromiumSrcDir(), 'tools', 'perf', 'page_sets')
51 ps = page_set_module.PageSet( 51 ps = page_set_module.PageSet(
52 archive_data_file='data/maps.json', 52 archive_data_file='data/maps.json',
53 make_javascript_deterministic=False, 53 make_javascript_deterministic=False,
54 file_path=page_set_path) 54 file_path=page_set_path)
55 ps.AddPage(MapsPage(ps, ps.base_dir)) 55 ps.AddUserStory(MapsPage(ps, ps.base_dir))
56 return ps 56 return ps
57 57
58 class MapsNoVsync(MapsBenchmark): 58 class MapsNoVsync(MapsBenchmark):
59 """Runs the Google Maps benchmark with Vsync disabled""" 59 """Runs the Google Maps benchmark with Vsync disabled"""
60 tag = 'novsync' 60 tag = 'novsync'
61 61
62 def CustomizeBrowserOptions(self, options): 62 def CustomizeBrowserOptions(self, options):
63 options.AppendExtraBrowserArgs('--disable-gpu-vsync') 63 options.AppendExtraBrowserArgs('--disable-gpu-vsync')
OLDNEW
« no previous file with comments | « content/test/gpu/page_sets/pixel_tests.py ('k') | tools/perf/measurements/repaint_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698