• Home
  • Raw
  • Download

Lines Matching +full:baseline +full:- +full:file

5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file.
23 To compare a specific config with svg and skp resources included, add --config
24 and --extraarg option. For exampe,
26 python {0} TEST_GIT_BRANCH --config gl \\
27 --extraarg "--svgs ~/Desktop/bots/svgs --skps ~/Desktop/bots/skps"
31 python {0} --help
40 if len(sys.argv) <= 1 or sys.argv[1] == '-h' or sys.argv[1] == '--help':
45 'another baseline branch (e.g., master) using multiple ' +
59 'nanobench args (example: --svgs ~/Desktop/bots/svgs --skps '
62 'baseline branch to compare against (default: %(default)s)')
64 'nanobench arg for the baseline branch; if not given, we use '
65 ' the same arg for both the test branch and the baseline branch')
73 'whether NOT to run nanobench on baseline branch '
74 '(i.e., reuse previous baseline measurements)')
83 ['--config', str, '8888', config_help],
84 ['--skiadir', str, default_skiadir, 'default: %(default)s'],
85 ['--ninjadir', str, 'out/Release', 'default: %(default)s'],
86 ['--writedir', str, '/var/tmp', 'default: %(default)s'],
87 ['--extraarg', str, '', extraarg_help],
88 ['--baseline', str, 'master', baseline_help],
89 ['--basearg', str, '', basearg_help],
90 ['--reps', int, 2, reps_help],
91 ['--threads', int, default_threads, threads_help],
98 parser.add_argument('--no-compile', dest='no_compile', action="store_true",
100 parser.add_argument('--skip-base', dest='skipbase', action="store_true",
102 parser.add_argument('--noinit', dest='noinit', action="store_true",
104 parser.add_argument('--concise', dest='concise', action="store_true",
113 parser.add_argument('--githash', type=str, help=BHELP)
114 parser.add_argument('--keys', type=str, default=[], nargs='+', help=BHELP)
132 ['ninja', '-C', args.ninjadir, 'nanobench'],
142 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
150 subprocess.check_call(['git', 'reset', 'HEAD^', '--soft'])
155 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
157 ['cp', args.ninjadir + '/nanobench', nano_path(args, args.baseline)],
166 compile_branch(args, args.baseline)
184 args.branch + ("_A" if args.branch == args.baseline else ""),
185 args.baseline + ("_B" if args.branch == args.baseline else ""),
187 nano_path(args, args.baseline),
198 command += ['--githash', args.githash]
200 command += (['--keys'] + args.keys)
203 command.append("--concise")