AGP9-beta01 without builtInKotlin

The analysis of the Gradle build performance data reveals modest differences between the two variants, varianta_agp_9_0_0_beta01 and variantb_agp_9_0_0_beta01_no_builtInKotlin. The overall build time for varianta averaged 560.768 seconds, slightly higher than variantb at 555.408 seconds, showing a minor improvement of about 0.96%. Configuration times were also close, with varianta averaging 56.552 seconds compared to variantb at 57.775 seconds. Notably, variantb shows a slight increase in configuration time by about 2.16%. In terms of resource usage, variantb consistently used less memory across all processes, with a maximum of 11.71 GB compared to varianta’s 12.82 GB. CPU usage was nearly identical for both variants, maxing out at 100% for overall processes and hovering around 97% for the main build process. The most time-consuming tasks across both variants included :core:cart:kspDebugKotlin, :core:contact:kspDebugKotlin, and :core:comment:kspDebugKotlin, with varianta generally taking slightly longer to execute these tasks.

AGP 9.0.0-beta01 vs 8.13.1

The performance analysis between two Gradle build variants, varianta_agp_9_0_0_beta01 and variantb_agp_8_13_1, reveals several key insights. The overall build time for varianta is slightly faster, averaging 554.782 seconds compared to variantb’s 566.004 seconds, a difference of approximately 2%. Notably, varianta also shows a quicker configuration time, averaging 53.077 seconds versus variantb’s 59.078 seconds, indicating a 10% improvement. In task execution, varianta generally performs better in CPU and memory usage, with a maximum CPU usage slightly lower than variantb (97.14% vs. 96.96%) and a more efficient memory usage profile. The analysis of garbage collection shows varianta having fewer total collections (251) compared to variantb (259), suggesting better memory management.

Gradle 9.2.0

The analysis of Gradle build performance between varianta_gradle_9_2_0 and variantb_gradle_9_1_0 reveals minor differences in build times, with varianta_gradle_9_2_0 showing a slight improvement. The mean build time for varianta is approximately 539.9 seconds compared to variantb at 542.4 seconds, a decrease of about 0.47%. Configuration times also show a marginal improvement in varianta with a mean time of 64.49 seconds versus 65.92 seconds for variantb, reflecting a 2.17% decrease. The most time-consuming tasks across both variants include :build-logic:convention:compileKotlin, :core:account:kspDebugKotlin, and :core:analytics:kspDebugKotlin, with varianta generally performing slightly better. Memory and CPU usage are nearly identical for both variants, with maximum values reaching up to 11.59 GB and 100% CPU usage respectively. Garbage collection activities are also comparable, with total collections close between the two variants.

Kotlin 2.3.0-beta2

The analysis of the Gradle build performance data reveals minor differences between the two variants, varianta_2.2.20 and variantb_2.3.0-beta2. The overall build time is slightly reduced in variantb_2.3.0-beta2 by approximately 0.15% (from 580.709 seconds to 579.848 seconds). Configuration times are nearly identical with a negligible decrease in the newer variant. The most time-consuming tasks across both variants include Kotlin compilation and various Android build tasks, with minor variations in execution times between the two variants. Memory usage and CPU utilization for both the build process and child processes are comparable, with no significant differences observed. The total number of garbage collection operations remains consistent across variants.

Gradle 9.2.0-rc-1 vs 9.1.0

The analysis of the Gradle build performance comparison between variant A (Gradle 9.1.0) and variant B (Gradle 9.2.0-rc-1) reveals subtle improvements in build efficiency in the newer version. The overall build time slightly decreased from 544.528 seconds in variant A to 542.012 seconds in variant B, a reduction of approximately 2.516 seconds (0.46%). Similarly, configuration time saw a reduction from 66.133 seconds to 64.152 seconds, improving by 1.981 seconds (3%). The most time-consuming tasks across both variants include :build-logic:convention:compileKotlin, :core:analytics:kspDebugKotlin, and :core:calendar:kspDebugKotlin, with minor variations in execution times between the variants. CPU and memory usage remained nearly at capacity for both variants, with a maximum CPU usage of 100% and memory peaking around 11.6 GB. The garbage collection metrics indicate a slight decrease in total collections from 169 in variant A to 167 in variant B, suggesting marginally better memory management in the newer Gradle version.

JDK 25 Parallel GC - Gradle 9.1

The performance comparison between varianta_gradle_9_1_0 and variantb_jdk_25_parallel reveals several key insights. The overall build time for varianta_gradle_9_1_0 averaged 466.318 seconds, slightly higher than variantb_jdk_25_parallel at 448.495 seconds, marking a decrease of about 3.82%. Configuration times also show a decrease from 59.939 seconds in varianta_gradle_9_1_0 to 53.989 seconds in variantb_jdk_25_parallel, a reduction of approximately 9.92%. Notably, garbage collection (GC) was more efficient in variantb_jdk_25_parallel with significantly fewer total collections (74) compared to varianta_gradle_9_1_0 (157). Memory usage peaked slightly higher in variantb_jdk_25_parallel at 11.49 GB compared to 10.98 GB in varianta_gradle_9_1_0. CPU usage was maximized at 100% for both variants, indicating full utilization during the builds.

JDK 25 - Gradle 9.1

The analysis of the Gradle build performance data reveals some key differences between the two variants, varianta_gradle_9_1_0 and variantb_jdk_25. The overall build time for varianta_gradle_9_1_0 averaged 461.379 seconds, slightly faster than variantb_jdk_25 at 469.345 seconds, a difference of about 7.966 seconds or approximately 1.7%. The configuration time showed varianta_gradle_9_1_0 to be slower on average, taking 57.628 seconds compared to 55.901 seconds for variantb_jdk_25, a difference of 1.727 seconds or about 3.1%. Task execution times varied significantly between variants, with variantb_jdk_25 generally taking longer in tasks related to Kotlin compilation and Android resource linking. Memory usage was slightly higher in variantb_jdk_25 across all processes, with a maximum of 10.97 GB compared to 10.95 GB in varianta_gradle_9_1_0. CPU usage was nearly maxed out for both variants. The total garbage collection counts were higher in varianta_gradle_9_1_0 with 157 collections compared to 120 in variantb_jdk_25.

Gradle 9.1.0 vs 9.0.0

The performance comparison between Gradle versions 9.0.0 and 9.1.0 shows minor differences in build times and resource usage. The mean build time for version 9.0.0 is approximately 467 seconds, slightly faster than the 468 seconds for version 9.1.0, a difference of about 1 second or 0.2%. Configuration times are nearly identical, with version 9.0.0 being marginally quicker by about 0.4%. The most time-consuming tasks across both versions are related to Kotlin compilation and Android resource linking, with minor variations in execution times. CPU and memory usage for both the build process and child processes are similar, with no significant differences exceeding 10%. The total garbage collection counts are also comparable, indicating similar memory management efficiency between the two versions.

KGP 2.2.10 vs 2.2.20

The analysis of the Gradle build performance between variants 2.2.10 and 2.2.20 reveals subtle differences in build times and task execution. The overall build time for variant 2.2.20 is slightly higher by about 3.3 seconds (0.92% increase) compared to variant 2.2.10. The configuration time also shows a minor increase of 0.63 seconds (1.46% increase) in variant 2.2.20. Notably, the most time-consuming tasks across both variants include :app:app:hiltJavaCompileDebug, :app:app:mergeExtDexDebug, and :core:cart:compileDebugKotlin, with variant 2.2.20 generally showing a marginal increase in execution times. Memory usage is slightly lower in variant 2.2.20 by about 0.21 GB (2.01% decrease), while CPU usage remains maximized at 100% for both variants. The total garbage collection counts are very close, with variant 2.2.20 having just one more collection than 2.2.10.

JDK 17 vs 21

The analysis of the Gradle build performance between varianta_jdk_17 and variantb_jdk_21 reveals several key insights. The overall build time for varianta_jdk_17 averages 396.626 seconds, while variantb_jdk_21 is slightly faster at 381.929 seconds, showing a reduction of approximately 14.697 seconds (3.7%). The configuration times are very close, with varianta_jdk_17 averaging 44.278 seconds and variantb_jdk_21 at 43.845 seconds. Notably, the most time-consuming tasks across both variants include :core:cart:compileDebugKotlin, :core:identity:compileDebugKotlin, and :core:contact:compileDebugKotlin, with variantb_jdk_21 generally performing better in these areas. Memory usage is higher in variantb_jdk_21 across all processes, with a maximum of 10.84 GB compared to 10.31 GB in varianta_jdk_17. CPU usage is nearly maxed out for both variants. The total garbage collection counts are slightly higher in variantb_jdk_21 with 139 collections compared to 131 in varianta_jdk_17.