Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Kotlin 2.0.0 #1827

Merged
merged 16 commits into from
May 1, 2024
Merged

Kotlin 2.0.0 #1827

merged 16 commits into from
May 1, 2024

Conversation

chrisbanes
Copy link
Owner

@chrisbanes chrisbanes commented Apr 30, 2024

Ignore the huge line diff change stats, that's due to the baseline profile changing.

Clean build benchmarks

For Tivi, K2 is ~9% faster than K1 for Android builds, and ~5% faster for iOS.

chart

Methodology

I ran a build to prime artifact caches etc. I then ran the build 10 times and recorded the median task execution time (not wall clock time).

# Prime run
./gradlew :android-app:app:assembleQaDebug

# Build again, running every task again
for i in {1..10} ; do
  ./gradlew :android-app:app:assembleQaDebug --profile --offline --rerun-tasks --no-configuration-cache
done

For iOS I did the same, but running: ./gradlew :shared:qa:linkDebugFrameworkIosSimulatorArm64

@chrisbanes chrisbanes changed the title [WIP] Kotlin 2.0.0 Kotlin 2.0.0 May 1, 2024
@chrisbanes chrisbanes marked this pull request as ready for review May 1, 2024 17:56
@chrisbanes chrisbanes merged commit 77b5e2b into main May 1, 2024
7 of 8 checks passed
@chrisbanes chrisbanes deleted the cb/kotlin-2.0 branch May 1, 2024 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant