From de10b4fc49516e393947c3d6c16de5703e5b2052 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 13 Nov 2024 16:39:50 +0000 Subject: [PATCH] libstdc++: Write timestamp to libstdc++-performance.sum file The results of 'make check-performance' are appended to the .sum file, with no indication where one set of results ends and the next begins. We could just remove the file when starting a new run, but appending makes it a little easier to compare with previous runs, without having to copy and store old files. This adds a header containing a timestamp to the file when starting a new run. libstdc++-v3/ChangeLog: * scripts/check_performance: Add timestamp to output file at start of run. --- libstdc++-v3/scripts/check_performance | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libstdc++-v3/scripts/check_performance b/libstdc++-v3/scripts/check_performance index cde3874741c4..4831ed71b6fc 100755 --- a/libstdc++-v3/scripts/check_performance +++ b/libstdc++-v3/scripts/check_performance @@ -38,6 +38,9 @@ TESTS_FILE="testsuite_files_performance" echo CXX is $CXX + +echo "=== $(date -u) ===" >> $BUILD_DIR/testsuite/libstdc++-performance.sum + for NAME in `cat $TESTS_FILE` do RUN=true