diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2023-05-23 09:14:28 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2023-05-23 09:23:12 +0000 |
commit | 04e066df5eb363a24c7685837734ca6186cd478f (patch) | |
tree | 77fbd0a144560fe352d6c152eec46b0f03689633 /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | 033690fffe8f1e2f4be100ee4da62e5c04655e4f (diff) | |
download | llvm-04e066df5eb363a24c7685837734ca6186cd478f.zip llvm-04e066df5eb363a24c7685837734ca6186cd478f.tar.gz llvm-04e066df5eb363a24c7685837734ca6186cd478f.tar.bz2 |
[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
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions