# HG changeset patch # User Pierre-Yves David <pierre-yves.david@octobus.net> # Date 1657205164 -7200 # Thu Jul 07 16:46:04 2022 +0200 # Node ID 163aba8e603490f2f42a17cab05e9186262a6366 # Parent dc39d73689413516f217c570c60208f6c9290648 run-util: record the timestamp when the run begin This will, hopefully, help us to understand some patterns. diff --git a/bin/run-util b/bin/run-util --- a/bin/run-util +++ b/bin/run-util @@ -7,6 +7,7 @@ import subprocess import sys import tempfile +import time poulpe_root = os.path.dirname(os.path.dirname(sys.argv[0])) sys.path.insert(0, os.path.join(poulpe_root, 'python-libs')) @@ -72,6 +73,8 @@ result_data['benchmark'] = {} result_data['benchmark']['name'] = benchmark_data['meta']['name'] + result_data['run'] = {} + result_data['run']["timestamp"] = time.time() # building the benchmark scenarion, that will likely changes often and quickly cmd = SimpleCommand(benchmark_data) 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 @@ -111,6 +111,8 @@ median = * (glob) min = * (glob) standard-deviation = * (glob) + run: + timestamp = * (glob) Quick comparision of values ---------------------------