[libcxx-commits] [libcxx] 8da3ab1 - [libc++] Ensure benchmark comparison output ends with a newline

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 11 09:16:39 PDT 2025


Author: Louis Dionne
Date: 2025-09-11T12:16:05-04:00
New Revision: 8da3ab12cec83c968565e649e2b03c1790fdd53b

URL: https://github.com/llvm/llvm-project/commit/8da3ab12cec83c968565e649e2b03c1790fdd53b
DIFF: https://github.com/llvm/llvm-project/commit/8da3ab12cec83c968565e649e2b03c1790fdd53b.diff

LOG: [libc++] Ensure benchmark comparison output ends with a newline

Otherwise, it doesn't compose well with anything else that produces
output.

Added: 
    

Modified: 
    libcxx/utils/compare-benchmarks

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/compare-benchmarks b/libcxx/utils/compare-benchmarks
index 9bda5f1a27949..3e110d6fba735 100755
--- a/libcxx/utils/compare-benchmarks
+++ b/libcxx/utils/compare-benchmarks
@@ -118,6 +118,7 @@ def main(argv):
     else:
         
diff  = plain_text_comparison(benchmarks, baseline_series, candidate_series)
         args.output.write(
diff )
+        args.output.write('\n')
 
 if __name__ == '__main__':
     main(sys.argv[1:])


        


More information about the libcxx-commits mailing list