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.
25 To compare a specific config with svg and skp resources included, add --config
26 and --extraarg option. For exampe,
28 python {0} TEST_GIT_BRANCH --config gl \\
29 --extraarg "--svgs ~/Desktop/bots/svgs --skps ~/Desktop/bots/skps"
33 python {0} --help
42 if len(sys.argv) <= 1 or sys.argv[1] == '-h' or sys.argv[1] == '--help':
47 'another baseline branch (e.g., main) using multiple ' +
61 'nanobench args (example: --svgs ~/Desktop/bots/svgs --skps '
64 'baseline branch to compare against (default: %(default)s)')
66 'nanobench arg for the baseline branch; if not given, we use '
67 ' the same arg for both the test branch and the baseline branch')
75 'whether NOT to run nanobench on baseline branch '
76 '(i.e., reuse previous baseline measurements)')
85 ['--config', str, '8888', config_help],
86 ['--skiadir', str, default_skiadir, 'default: %(default)s'],
87 ['--ninjadir', str, 'out/Release', 'default: %(default)s'],
88 ['--writedir', str, '/var/tmp', 'default: %(default)s'],
89 ['--extraarg', str, '', extraarg_help],
90 ['--baseline', str, 'main', baseline_help],
91 ['--basearg', str, '', basearg_help],
92 ['--reps', int, 2, reps_help],
93 ['--threads', int, default_threads, threads_help],
100 parser.add_argument('--no-compile', dest='no_compile', action="store_true",
102 parser.add_argument('--skip-base', dest='skipbase', action="store_true",
104 parser.add_argument('--noinit', dest='noinit', action="store_true",
106 parser.add_argument('--concise', dest='concise', action="store_true",
115 parser.add_argument('--githash', type=str, help=BHELP)
116 parser.add_argument('--keys', type=str, default=[], nargs='+', help=BHELP)
134 ['ninja', '-C', args.ninjadir, 'nanobench'],
144 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
152 subprocess.check_call(['git', 'reset', 'HEAD^', '--soft'])
157 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
159 ['cp', args.ninjadir + '/nanobench', nano_path(args, args.baseline)],
168 compile_branch(args, args.baseline)
186 args.branch + ("_A" if args.branch == args.baseline else ""),
187 args.baseline + ("_B" if args.branch == args.baseline else ""),
189 nano_path(args, args.baseline),
200 command += ['--githash', args.githash]
202 command += (['--keys'] + args.keys)
205 command.append("--concise")