The K2 compiler brings significant performance improvements, with compilation speed gains of up to 94%. The new architecture has shown the biggest improvement in the analysis phase. Performance tests were conducted on the Anki-Android and Exposed projects. You can collect your own performance statistics for Kotlin projects using the provided performance management tool.
Table of contents
K2 Compiler Performance Benchmarks and How to Measure Them on Your ProjectsKey performance improvementsSet upTest scenariosTypes of measurements collectedResultsCollect your own measurementsSort: