Skip to content

Commit a63adc9

Browse files
committed
Use non-json format for now until we have switched over completely
1 parent 2a3e68a commit a63adc9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

benchmark/scripts/Benchmark_Driver

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,10 @@ class BenchmarkDriver(object):
206206
)
207207
output = self._invoke(cmd)
208208
results = self.parser.results_from_string(output)
209-
return list(results.items())[0][1] if test else results
209+
if test:
210+
return list(results.items())[0][1]
211+
else:
212+
return results
210213

211214
def _cmd_run(
212215
self,
@@ -232,7 +235,8 @@ class BenchmarkDriver(object):
232235
cmd.append("--verbose")
233236
if measure_memory:
234237
cmd.append("--memory")
235-
cmd.append("--json")
238+
# TODO: Uncomment this as soon as the new Benchmark Swift logic is available everywhere
239+
# cmd.append("--json")
236240
return cmd
237241

238242
def run_independent_samples(self, test):

0 commit comments

Comments
 (0)