The article discusses the optimizations implemented to improve the performance of the Rust toolchain for Android, including using single code generation units, garbage collecting data objects, performing link-time and profile-guided optimizations, and leveraging the BOLT tool. These optimizations result in significant speedup

6m read timeFrom android-developers.googleblog.com
Post cover image
Table of contents
Android’s CompilersOur Build ProcessCodegen Units (CGU1)GC SectionsLink-Time Optimization (LTO)Profile-Guided Optimization (PGO)BOLT: Binary Optimization and Layout ToolConclusion

Sort: