# HG changeset patch # User Pierre-Yves David <pierre-yves.david@octobus.net> # Date 1657204860 -7200 # Thu Jul 07 16:41:00 2022 +0200 # Node ID dc39d73689413516f217c570c60208f6c9290648 # Parent a9698da553f0f61c3cd443f47866be9816fbfa3d gather more than just the median Having more information will be useful diff --git a/bin/run-util b/bin/run-util --- a/bin/run-util +++ b/bin/run-util @@ -83,6 +83,10 @@ result_data['result'] = {} result_data['result']['time'] = {} result_data['result']['time']['median'] = r['results'][0]['median'] + result_data['result']['time']['mean'] = r['results'][0]['mean'] + result_data['result']['time']['standard-deviation'] = r['results'][0]['stddev'] + result_data['result']['time']['min'] = r['results'][0]['min'] + result_data['result']['time']['max'] = r['results'][0]['max'] poulpe.write_data(result, result_data) return 0 diff --git a/tests/test-simple-run.t b/tests/test-simple-run.t --- a/tests/test-simple-run.t +++ b/tests/test-simple-run.t @@ -106,7 +106,11 @@ name = black-bench result: time: + max = * (glob) + mean = * (glob) median = * (glob) + min = * (glob) + standard-deviation = * (glob) Quick comparision of values ---------------------------