]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Write timestamp to libstdc++-performance.sum file
authorJonathan Wakely <jwakely@redhat.com>
Wed, 13 Nov 2024 16:39:50 +0000 (16:39 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 13 Nov 2024 20:21:29 +0000 (20:21 +0000)
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

index cde3874741c4ffd97e52c7f22d29ac0b7fc03612..4831ed71b6fc95e10ee033604145e7201f8605fc 100755 (executable)
@@ -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