Add experiments timings to data to submit to DB(#5108)
This commit is contained in:
committed by
GitHub
parent
9f93509b1c
commit
e864972f83
@@ -105,7 +105,7 @@ def run_timetest(args: dict, log=None):
|
||||
aggregated_stats = aggregate_stats(filtered_stats)
|
||||
log.debug("Aggregated statistics after full run: {}".format(aggregated_stats))
|
||||
|
||||
return 0, aggregated_stats
|
||||
return 0, aggregated_stats, stats
|
||||
|
||||
|
||||
def check_positive_int(val):
|
||||
@@ -154,7 +154,7 @@ if __name__ == "__main__":
|
||||
logging.basicConfig(format="[ %(levelname)s ] %(message)s",
|
||||
level=logging.DEBUG, stream=sys.stdout)
|
||||
|
||||
exit_code, aggr_stats = run_timetest(dict(args._get_kwargs()), log=logging) # pylint: disable=protected-access
|
||||
exit_code, aggr_stats, _ = run_timetest(dict(args._get_kwargs()), log=logging) # pylint: disable=protected-access
|
||||
|
||||
if args.stats_path:
|
||||
# Save aggregated results to a file
|
||||
|
||||
Reference in New Issue
Block a user