Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant