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

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

Issue 1860013002: [perf] Add speedometer-ignition benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge master Created 4 years, 8 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 | « tools/perf/benchmarks/v8.py ('k') | 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
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import shlex
6
7
8 def EnableIgnition(options):
9 existing_js_flags = []
10 for extra_arg in options.extra_browser_args:
11 if extra_arg.startswith('--js-flags='):
12 existing_js_flags.extend(shlex.split(extra_arg[len('--js-flags='):]))
13 options.AppendExtraBrowserArgs([
14 # This overrides any existing --js-flags, hence we have to include the
15 # previous flags as well.
16 '--js-flags=--ignition %s' % (' '.join(existing_js_flags))
17 ])
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/v8.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698