We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3e68a commit a63adc9Copy full SHA for a63adc9
benchmark/scripts/Benchmark_Driver
@@ -206,7 +206,10 @@ class BenchmarkDriver(object):
206
)
207
output = self._invoke(cmd)
208
results = self.parser.results_from_string(output)
209
- return list(results.items())[0][1] if test else results
+ if test:
210
+ return list(results.items())[0][1]
211
+ else:
212
+ return results
213
214
def _cmd_run(
215
self,
@@ -232,7 +235,8 @@ class BenchmarkDriver(object):
232
235
cmd.append("--verbose")
233
236
if measure_memory:
234
237
cmd.append("--memory")
- cmd.append("--json")
238
+# TODO: Uncomment this as soon as the new Benchmark Swift logic is available everywhere
239
+# cmd.append("--json")
240
return cmd
241
242
def run_independent_samples(self, test):
0 commit comments