For some time now I'm seeing that test suit is taking more time that it used to run on local machine. Normally I just run all tests before a commit and push, or to see if on change diagnostics all covered all tests. Not really sure if its related to hardware in specific(probably is) but also test suit is incrementally growing so its expected to take longer.
For example the last run took 2701.21s which is ~45min running on -- Testing: 6533 tests, 4 workers -- with
llvm-project/llvm/utils/lit/lit.py -sv --param swift_site_config=build/Ninja-ReleaseAssert/swift-macosx-x86_64/test-macosx-x86_64/lit.site.cfg swift/test/
So the questions here are more:
- If there are some flags that I can pass to it to speed up this process?
- There is a way to force more worker threads?
- There are some tips and tricks from your development workflow to avoid loosing too much time on running this?
Any advice is appreciated!
Thanks in advance =]