Skip to content

Commit 1b98158

Browse files
authored
Merge pull request swiftlang#80 from graydon/cperf-fixes-oct-3
Cperf fixes oct 3
2 parents 5854652 + e6dfd4a commit 1b98158

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

run_cperf

+4-3
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def get_stats_dir(instance, variant):
225225

226226

227227
def get_actual_config_and_flags(config, stats):
228-
flags = ("-v -j 1 -num-threads 1 -stats-output-dir '%s'" % stats)
228+
flags = ("-j 1 -num-threads 1 -stats-output-dir '%s'" % stats)
229229
# Handle pseudo-configs
230230
if config == 'wmo-onone':
231231
flags += ' -wmo -Onone '
@@ -253,7 +253,6 @@ def execute_runner(instance, workspace, configs, args):
253253
runner_command = [
254254
'./runner.py',
255255
'--swiftc', swiftc_path,
256-
'--verbose',
257256
'--projects', projects,
258257
'--build-config', config,
259258
'--swift-version', '3',
@@ -331,9 +330,11 @@ def analyze_results(configs, args):
331330
returncodes.append(
332331
common.execute(
333332
common_args +
333+
(["--select-stats-from-csv-baseline", baseline]
334+
if os.path.exists(baseline)
335+
else []) +
334336
['--output', get_table_name('head', 'counters', variant),
335337
'--exclude-timers',
336-
"--select-stats-from-csv-baseline", baseline,
337338
'--compare-stats-dirs', sd_old, sd_new]))
338339
returncodes.append(
339340
common.execute(

0 commit comments

Comments
 (0)