khordadi wrote:

Thanks for testing this on so many projects! The re2 case has a specific cause: 
`util/test.cc` is compiled into 20 test binaries, so the database has 20 
entries for it, and clang-tidy checks it once per entry. curl has the same 
pattern. I've pushed a change that weights each file's size by its number of 
compile commands. Replaying measured per-file times from 17 projects at 16 
jobs, that's 12.0% faster than today's order, with no project slower, against 
7.1% for size alone. Ordering by the previous run's times, as lit does, would 
add about 2 points more, but it needs an option and a file to keep the times 
in, so I'd leave it for a follow-up if you think it's worth it.

https://github.com/llvm/llvm-project/pull/243430
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to