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

Side by Side Diff: tools/skp/webpages_playback.py

Issue 2298453002: Increase run_benchmarks timeout because the two Chromium page sets can take a while (Closed)
Patch Set: Initial upload Created 4 years, 3 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 | 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
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Archives or replays webpages and creates SKPs in a Google Storage location. 6 """Archives or replays webpages and creates SKPs in a Google Storage location.
7 7
8 To archive webpages and store SKP files (archives should be rarely updated): 8 To archive webpages and store SKP files (archives should be rarely updated):
9 9
10 cd skia 10 cd skia
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 # break out of the loop. 283 # break out of the loop.
284 raise Exception('record_wpr failed for page_set: %s' % page_set) 284 raise Exception('record_wpr failed for page_set: %s' % page_set)
285 285
286 else: 286 else:
287 # Get the webpages archive so that it can be replayed. 287 # Get the webpages archive so that it can be replayed.
288 self._DownloadWebpagesArchive(wpr_data_file, page_set_json_name) 288 self._DownloadWebpagesArchive(wpr_data_file, page_set_json_name)
289 289
290 run_benchmark_cmd = ( 290 run_benchmark_cmd = (
291 'PYTHONPATH=%s:%s:$PYTHONPATH' % (page_set_dir, self._catapult_dir), 291 'PYTHONPATH=%s:%s:$PYTHONPATH' % (page_set_dir, self._catapult_dir),
292 'DISPLAY=%s' % X11_DISPLAY, 292 'DISPLAY=%s' % X11_DISPLAY,
293 'timeout', '300', 293 'timeout', '600',
294 os.path.join(self._telemetry_binaries_dir, 'run_benchmark'), 294 os.path.join(self._telemetry_binaries_dir, 'run_benchmark'),
295 '--extra-browser-args="%s"' % self._browser_args, 295 '--extra-browser-args="%s"' % self._browser_args,
296 '--browser=exact', 296 '--browser=exact',
297 '--browser-executable=%s' % self._browser_executable, 297 '--browser-executable=%s' % self._browser_executable,
298 SKP_BENCHMARK, 298 SKP_BENCHMARK,
299 '--page-set-name=%s' % page_set_basename, 299 '--page-set-name=%s' % page_set_basename,
300 '--page-set-base-dir=%s' % page_set_dir, 300 '--page-set-base-dir=%s' % page_set_dir,
301 '--skp-outdir=%s' % TMP_SKP_DIR, 301 '--skp-outdir=%s' % TMP_SKP_DIR,
302 '--also-run-disabled-tests' 302 '--also-run-disabled-tests'
303 ) 303 )
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 '--skia_tools is specified then the debugger is not run.', 593 '--skia_tools is specified then the debugger is not run.',
594 default=False) 594 default=False)
595 option_parser.add_option( 595 option_parser.add_option(
596 '', '--skp_prefix', 596 '', '--skp_prefix',
597 help='Prefix to add to the names of generated SKPs.', 597 help='Prefix to add to the names of generated SKPs.',
598 default=None) 598 default=None)
599 options, unused_args = option_parser.parse_args() 599 options, unused_args = option_parser.parse_args()
600 600
601 playback = SkPicturePlayback(options) 601 playback = SkPicturePlayback(options)
602 sys.exit(playback.Run()) 602 sys.exit(playback.Run())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698