Most of the methods I used are discussed there, and he explains them clearly. I highly recommend matklad’s blog (He is the original author of IntelliJ Rust and rust-analyzer): I feel like I can describe them as low-hanging fruits, silver bullets, or even free lunch □. What shocked me was that there were some very simple methods that, with just a little effort, produced astonishing results. So a few days ago, I decided to spend some time researching whether I could optimize the compilation speed a bit more. Although it is still not intolerably slow, it is already noticeably slower than before. The main workflow now takes about 40 minutes, while the PR workflow takes about 25 minutes 30 seconds. However, over time, more and more things have been added to our CI, making it increasingly bloated. A full debug compilation only takes 2-3 minutes. After using an M1 MacBook Pro, compiling is not a problem at all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |