https://gcc.gnu.org/g:de10b4fc49516e393947c3d6c16de5703e5b2052

commit r15-5209-gde10b4fc49516e393947c3d6c16de5703e5b2052
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Nov 13 16:39:50 2024 +0000

    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.

Diff:
---
 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

Reply via email to