[all-commits] [llvm/llvm-project] 04e066: [libc] Display unit test runtime for hosted enviro...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Tue May 23 02:23:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04e066df5eb363a24c7685837734ca6186cd478f
https://github.com/llvm/llvm-project/commit/04e066df5eb363a24c7685837734ca6186cd478f
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2023-05-23 (Tue, 23 May 2023)
Changed paths:
M libc/test/UnitTest/LibcTest.cpp
Log Message:
-----------
[libc] Display unit test runtime for hosted environments
With more tests added to LLVM libc each week we want to keep track of unittest's runtime, especially for low end build bots.
Top offender can be tracked with a bit of scripting (spoiler alert, mem function sweep tests are in the top ones)
```
ninja check-libc | grep "ms)" | awk '{print $(NF-1),$0}' | sort -nr | cut -f2- -d' '
```
Unfortunately this doesn't work for hermetic tests since `clock` is unavailable.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D151097
More information about the All-commits
mailing list