Commit f584777c authored by Lachlan's avatar Lachlan

Add generation of stats trees and print results for now

parent 0d1c4c61
Pipeline #66560637 passed with stages
in 55 minutes and 17 seconds
......@@ -46,6 +46,7 @@ import argparse
import statistics
from contrib.logfile_analyser import process_data, accumulate_trees, stat_nodes
from contrib.logfile_analyser import create_stat_tree, print_time_tree
def main():
......@@ -206,6 +207,10 @@ def process_file(results_file, write_logs=None, save_stats=None, display_tree=No
for stat_result in stats:
print("For {}, mean {}, std dev {}"
.format(stat_result, stats[stat_result][0], stats[stat_result][1]))
stats_tree = create_stat_tree(stats)
if stats_tree:
print_time_tree(stats_tree)
stats_rtns.append(stats_tree)
except ValueError:
logging.error("Unable to resolve tests in: %s", results_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment