diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-10-21 20:32:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-21 20:32:02 -0700 |
| commit | aba227b3a92a894d571b428796ad86f411716214 (patch) | |
| tree | 5811ab74b2f3d16825c4425a872d7fd9c207a831 /compiler/rustc_codegen_gcc | |
| parent | 1b24c6fc1442a00f6edb8f4381ea64c2ba017843 (diff) | |
| parent | a269e4da72ed1e2dc71eca2871acab6b9f1423c5 (diff) | |
| download | rust-aba227b3a92a894d571b428796ad86f411716214.tar.gz rust-aba227b3a92a894d571b428796ad86f411716214.zip | |
Rollup merge of #131954 - the8472:bootstrap-parallel-git, r=Kobzol
shave 150ms off bootstrap This starts `git` commands inside `GitInfo`and the submodule updates in parallel. Git should already perform internal locking in cases where it needs to serialize a modification. ``` OLD Benchmark #1: ./x check core Time (mean ± σ): 608.7 ms ± 4.4 ms [User: 368.3 ms, System: 455.1 ms] Range (min … max): 602.3 ms … 618.8 ms 10 runs NEW Benchmark #1: ./x check core Time (mean ± σ): 462.8 ms ± 2.6 ms [User: 350.2 ms, System: 485.1 ms] Range (min … max): 457.5 ms … 465.6 ms 10 runs ``` This should help with the rust-analyzer setup which issues many individual `./x check` calls. There's more that could be done but these were the lowest-hanging fruits that I saw.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
