diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-11-13 16:39:50 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-11-13 20:21:29 +0000 |
commit | de10b4fc49516e393947c3d6c16de5703e5b2052 (patch) | |
tree | 50d0e3299ce9025f875cb45fea38f63237ad0109 | |
parent | 2b92007016ce8de3fc0a8c4508a789b822ea8e6b (diff) | |
download | gcc-de10b4fc49516e393947c3d6c16de5703e5b2052.zip gcc-de10b4fc49516e393947c3d6c16de5703e5b2052.tar.gz gcc-de10b4fc49516e393947c3d6c16de5703e5b2052.tar.bz2 |
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.
-rwxr-xr-x | libstdc++-v3/scripts/check_performance | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/scripts/check_performance b/libstdc++-v3/scripts/check_performance index cde3874..4831ed7 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 |