diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-01-11 12:36:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-11 12:36:06 +0100 |
| commit | 7b741fb68e506cc432c1859d8c4fa4a3936f0f41 (patch) | |
| tree | d48367a1970306aed53c22639a13baa40e5582c4 /src/test/debuginfo/enum-thinlto.rs | |
| parent | cd47af1881f2844dd1b81f9e37f64dd52d969eac (diff) | |
| parent | 69bacd002b432292f5b0fdf76b4fad1432473f36 (diff) | |
| download | rust-7b741fb68e506cc432c1859d8c4fa4a3936f0f41.tar.gz rust-7b741fb68e506cc432c1859d8c4fa4a3936f0f41.zip | |
Rollup merge of #67889 - Zoxc:parallel-cgus, r=michaelwoerister
Compile some CGUs in parallel at the start of codegen This brings the compilation time for `syntex_syntax` from 11.542s to 10.453s with 6 threads in non-incremental debug mode. Just compiling `n` CGUs in parallel at the beginning of codegen seems sufficient to get rid of the staircase effect, at least for `syntex_syntax`. Based on https://github.com/rust-lang/rust/pull/67777. r? @michaelwoerister cc @alexcrichton @Mark-Simulacrum
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
