From df32e4ec251b0f066280005b5bc31da518595fde Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 17 Feb 2022 02:30:04 -0600 Subject: [PATCH] CMake: output commit timestamp in performance.csv --- tests/performance/collect_measurements | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/performance/collect_measurements b/tests/performance/collect_measurements index 8b9074ed82..b7ad6b12c2 100755 --- a/tests/performance/collect_measurements +++ b/tests/performance/collect_measurements @@ -31,6 +31,7 @@ shift branch="$(sed -n -e 's/.*Branch: \+\(.*\)/\1/p' revision.log)" revision="$(sed -n -e 's/.*Revision: \+\(.*\)/\1/p' revision.log)" +timestamp="$(sed -n -e 's/.*Timestamp: \+\(.*\)/\1/p' revision.log)" # # Now collect all output files and postprocess them into a tab-separated @@ -72,10 +73,11 @@ done | sort | tr $'\t' ',')" # ( - echo "# Date: $(date -u --rfc-3339=s)" - echo "# Site: ${site}" - echo "# Branch: $branch" - echo "# Revision: $revision" + echo "# Date: $(date -u --rfc-3339=s)" + echo "# Site: ${site}" + echo "# Branch: ${branch}" + echo "# Revision: ${revision}" + echo "# Timestamp: ${timestamp}" ) > performance.csv ( -- 2.39.5