[PATCH] D122251: [lit] Use sharding for GoogleTest format

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 16:58:06 PDT 2022


thakis added a comment.

> http://45.33.8.238/win/55614/summary.html did not regress which is expected since these runs do not include unit tests.

`check-llvm` includes llvm's unit tests, `check-lld` includes lld's unit tests, `check-clang` includes clang's unit tests. That build does include unit tests.

If you compare the stdout:
http://45.33.8.238/linux/72772/step_7.txt
http://45.33.8.238/linux/72807/step_7.txt

then one says "30362 tests" while the other says "16250 tests" (which I think is expected since we now count number of unit test processes instead of number of tests?), so it does seem to have an effect. It's just not (much) faster.

> before (~270) https://lab.llvm.org/buildbot/#/builders/216/builds/2323/steps/7/logs/stdio
> after (~240) https://lab.llvm.org/buildbot/#/builders/216/builds/2356/steps/7/logs/stdio
>
> The time fluctuates to various degrees for bots. bot 216 is relatively stable and the speedup is what I would expect for a windows machine.

Even on that it it's a 30s improvement on a bit with a 9-15 min cycle time, so a 3-5% speedup. Is that worth giving up the property that we're guaranteed we don't have ordering dependencies between tests?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122251/new/

https://reviews.llvm.org/D122251

STAMPS
actor(@thakis) application(Differential) author(@ychen) herald(H223) herald(H297) herald(H428) herald(H576) herald(H615) herald(H864) monogram(D122251) object-type(DREV) phid(PHID-DREV-ovmkwmtnl2c5hwyfa3ye) reviewer(@compnerd) reviewer(@ddunbar) reviewer(@delcypher) reviewer(@jdenny) reviewer(@jhenderson) reviewer(@mstorsjo) reviewer(@rnk) reviewer(@yln) revision-repository(rG) revision-status(accepted) subscriber(@abrachet) subscriber(@browneee) subscriber(@compnerd) subscriber(@fhahn) subscriber(@llvm-commits) subscriber(@mstorsjo) subscriber(@probinson) subscriber(@rnk) subscriber(@russell.gallop) subscriber(@thakis) subscriber(@vitalybuka) tag(#all) tag(#llvm) via(web)



More information about the llvm-commits mailing list