5 ms·
I believe this is mostly due to the switch to LLVM 13[1]. [1]: https://twitter.com/ryan_levick/status/1443202538099073027 https://twitter.com/ryan_levick/statu
by benschulz 5y ago
I believe this is mostly due to the switch to LLVM 13[1].
[1]: https://twitter.com/ryan_levick/status/1443202538099073027 https://twitter.com/ryan_levick/status/1443202538099073027
- eska 5y agoThat seems to have been a mixed bag. But they also enabled PGO (or was it LTO?) and that was mentioned to be a bigger improvement.
- woodruffw 5y agoPGO requires a runtime profile, so I doubt they've enabled that by default :-) Rust has had LTO for quite a while, and it's normally a source of longer compilation times rather than shorter ones (since LTO in LLVM-world involves mashing all of the bitcode together and (re-)running a lot of expensive analyses to further optimize across translation unit boundaries. OTOH they've been making continuous improvements to the incremental compilation mode since 1.51/2, so that's probably among the sources of improvements here.
- nicoburns 5y agoI believe the new pass manager isn’t due to be enabled by default until the next version (1.57)
- runevault 5y agoYeah the significant improvements from 13 will require that last I heard.