<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Kotlin on Telltale — Gradle build experiment results</title><link>https://cdsap.github.io/Telltale/components/kotlin/</link><description>Recent content in Kotlin on Telltale — Gradle build experiment results</description><generator>Hugo -- 0.145.0</generator><language>en-us</language><lastBuildDate>Tue, 17 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://cdsap.github.io/Telltale/components/kotlin/index.xml" rel="self" type="application/rss+xml"/><item><title>KGP 2.3.20 vs 2.3.10</title><link>https://cdsap.github.io/Telltale/posts/2026-03-17-cdsap-275-experiment/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2026-03-17-cdsap-275-experiment/</guid><description>The analysis of the Gradle build performance comparison between two Kotlin variants (2.3.10 and 2.3.20) reveals minor differences in build times and task execution. The overall build time for variant B (Kotlin 2.3.20) is slightly higher by approximately 0.76 seconds (0.76% increase). Configuration times are nearly identical with a negligible difference. Notably, the most time-consuming tasks such as &lt;code>:app:app:mergeExtDexDebug&lt;/code> and &lt;code>:app:app:hiltJavaCompileDebug&lt;/code> show minimal variation between the two variants.
In terms of CPU and memory usage, both variants reach the maximum CPU usage, but variant B uses slightly more memory (0.03 GB more for the build process). The garbage collection metrics indicate a very close number of total collections between the two variants, suggesting similar memory management efficiency.</description></item><item><title>Kotlin 2.3.10 vs 2.3.0</title><link>https://cdsap.github.io/Telltale/posts/2026-02-05-cdsap-272-experiment/</link><pubDate>Thu, 05 Feb 2026 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2026-02-05-cdsap-272-experiment/</guid><description>The analysis of the Gradle build performance data reveals minor but notable differences between the two variants, &lt;code>varianta_2.3.0&lt;/code> and &lt;code>variantb_2.3.10&lt;/code>. The overall build time for &lt;code>varianta_2.3.0&lt;/code> is slightly higher with an average of 514.136 seconds compared to 511.726 seconds for &lt;code>variantb_2.3.10&lt;/code>, a difference of about 0.47%. Configuration times also show a slight improvement in &lt;code>variantb_2.3.10&lt;/code> with an average time of 46.028 seconds versus 47.689 seconds for &lt;code>varianta_2.3.0&lt;/code>, marking a 3.48% decrease. Task execution times across various types and paths show mixed results with minor variations, indicating specific areas where performance tuning affects outcomes. Memory and CPU usage metrics are closely matched between the variants, with no significant differences observed in maximum values.</description></item><item><title>Kotlin 2.3.0</title><link>https://cdsap.github.io/Telltale/posts/2025-12-17-cdsap-249-experiment/</link><pubDate>Wed, 17 Dec 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-12-17-cdsap-249-experiment/</guid><description>The analysis of the Gradle build performance data between two variants, &lt;code>varianta_2.2.21&lt;/code> and &lt;code>variantb_2.3.0&lt;/code>, reveals subtle differences in build times and task execution. The overall build time for &lt;code>varianta_2.2.21&lt;/code> averaged 569.213 seconds, slightly longer than &lt;code>variantb_2.3.0&lt;/code> at 567.616 seconds, a marginal improvement of about 0.28%. Configuration times also saw a decrease from 54.823 seconds in &lt;code>varianta_2.2.21&lt;/code> to 52.565 seconds in &lt;code>variantb_2.3.0&lt;/code>, improving by approximately 4.12%. Notably, the most time-consuming tasks across both variants include &lt;code>:core:account:kspDebugKotlin&lt;/code>, &lt;code>:core:analytics:kspDebugKotlin&lt;/code>, and &lt;code>:core:alarm:compileDebugKotlin&lt;/code>, with minor variations in execution times between the variants. The garbage collection metrics indicate a slight increase in total collections for &lt;code>variantb_2.3.0&lt;/code>, suggesting a minor increase in memory management activities.</description></item><item><title>Terminating Kotlin Process before R8 Task execution</title><link>https://cdsap.github.io/Telltale/posts/2025-12-15-cdsap-243-experiment/</link><pubDate>Mon, 15 Dec 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-12-15-cdsap-243-experiment/</guid><description>The analysis of the Gradle build performance data reveals that variant B (&lt;code>kill_process_before_r8&lt;/code>) generally performs better than variant A (&lt;code>r8&lt;/code>). Specifically, the overall build time for variant B is shorter by approximately 8.3 seconds (1.7% improvement). This trend is consistent across various task types, where variant B often shows reduced execution times. Notably, the &lt;code>R8Task&lt;/code>, one of the most time-consuming tasks, executes about 4.4 seconds faster in variant B. Memory usage is also slightly lower in variant B across all processes, with a maximum reduction of about 1.55 GB in overall system memory usage. CPU usage remains high and nearly maxed out for both variants, indicating a CPU-bound process.</description></item><item><title>Kotlin 2.3.0-beta2</title><link>https://cdsap.github.io/Telltale/posts/2025-10-29-cdsap-225-experiment/</link><pubDate>Wed, 29 Oct 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-10-29-cdsap-225-experiment/</guid><description>The analysis of the Gradle build performance data reveals minor differences between the two variants, &lt;code>varianta_2.2.20&lt;/code> and &lt;code>variantb_2.3.0-beta2&lt;/code>. The overall build time is slightly reduced in &lt;code>variantb_2.3.0-beta2&lt;/code> 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.</description></item><item><title>KGP 2.2.10 vs 2.2.20</title><link>https://cdsap.github.io/Telltale/posts/2025-09-11-cdsap-216-experiment/</link><pubDate>Thu, 11 Sep 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-09-11-cdsap-216-experiment/</guid><description>The analysis of the Gradle build performance between variants &lt;code>2.2.10&lt;/code> and &lt;code>2.2.20&lt;/code> reveals subtle differences in build times and task execution. The overall build time for variant &lt;code>2.2.20&lt;/code> is slightly higher by about 3.3 seconds (0.92% increase) compared to variant &lt;code>2.2.10&lt;/code>. The configuration time also shows a minor increase of 0.63 seconds (1.46% increase) in variant &lt;code>2.2.20&lt;/code>. Notably, the most time-consuming tasks across both variants include &lt;code>:app:app:hiltJavaCompileDebug&lt;/code>, &lt;code>:app:app:mergeExtDexDebug&lt;/code>, and &lt;code>:core:cart:compileDebugKotlin&lt;/code>, with variant &lt;code>2.2.20&lt;/code> generally showing a marginal increase in execution times. Memory usage is slightly lower in variant &lt;code>2.2.20&lt;/code> 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 &lt;code>2.2.20&lt;/code> having just one more collection than &lt;code>2.2.10&lt;/code>.</description></item><item><title>KGP 2.2.10 vs 2.2.0</title><link>https://cdsap.github.io/Telltale/posts/2025-08-15-cdsap-207-experiment/</link><pubDate>Fri, 15 Aug 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-08-15-cdsap-207-experiment/</guid><description>The analysis of the Gradle build performance data reveals minor differences between the two variants, &lt;code>varianta_2.2.0&lt;/code> and &lt;code>variantb_2.2.10&lt;/code>. The overall build time for &lt;code>varianta_2.2.0&lt;/code> averages around 372.6 seconds, while &lt;code>variantb_2.2.10&lt;/code> is slightly faster at 370.4 seconds, marking a modest improvement of approximately 0.6%. The most time-consuming tasks across both variants include &lt;code>:core:identity:compileDebugKotlin&lt;/code>, &lt;code>:core:contact:compileDebugKotlin&lt;/code>, and &lt;code>:feature:post:compileDebugKotlin&lt;/code>, with each showing minor time differences between the variants. Memory usage is slightly higher in &lt;code>variantb_2.2.10&lt;/code> with a peak of 10.94 GB compared to 10.74 GB in &lt;code>varianta_2.2.0&lt;/code>. CPU usage for both variants reached the maximum capacity of 100%. The Kotlin build reports indicate a slight efficiency improvement in &lt;code>variantb_2.2.10&lt;/code> in terms of incremental compilation and compiler code generation.</description></item><item><title>KSP 2.2.10 with KSP2 Enabled</title><link>https://cdsap.github.io/Telltale/posts/2025-08-15-cdsap-208-experiment/</link><pubDate>Fri, 15 Aug 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-08-15-cdsap-208-experiment/</guid><description>The analysis of the Gradle build performance data reveals that Variant B (&lt;code>variantb_2.2.10-ksp2&lt;/code>) generally has longer build times compared to Variant A (&lt;code>varianta_2.2.10&lt;/code>). Specifically, the mean build time for Variant B is approximately 8.2% longer than Variant A, translating to an increase of about 30.3 seconds. This trend is consistent across the P50 and P90 percentiles as well. In task execution, Variant B shows longer times particularly in Kotlin-related tasks, suggesting a possible area for optimization. Memory usage is also higher in Variant B by approximately 15.3%, which could be contributing to the increased build times. The total garbage collection (GC) events are significantly higher in Variant B, indicating more frequent memory management operations which could be impacting performance.</description></item><item><title>KGP 2.2.20-Beta2 vs 2.2.0</title><link>https://cdsap.github.io/Telltale/posts/2025-07-31-cdsap-202-experiment/</link><pubDate>Thu, 31 Jul 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-07-31-cdsap-202-experiment/</guid><description>The analysis of the Gradle build performance comparison between &lt;code>varianta_2.2.0&lt;/code> and &lt;code>variantb_2.2.20-Beta2&lt;/code> reveals several key findings. The overall build time for &lt;code>variantb_2.2.20-Beta2&lt;/code> is slightly longer, with a mean time of 762.133 seconds compared to 750.638 seconds for &lt;code>varianta_2.2.0&lt;/code>, marking a 1.53% increase. Significant differences are noted in task execution times, particularly for &lt;code>:core:account:kspDebugKotlin&lt;/code> which shows a 44% increase in mean execution time in &lt;code>variantb_2.2.20-Beta2&lt;/code>. The CPU and memory usage are closely matched between the variants, with both maxing out CPU usage at 100% and memory usage peaking around 14 GB. The Kotlin Build Reports indicate that &lt;code>variantb_2.2.20-Beta2&lt;/code> has a slightly longer compiler code analysis time but a quicker code generation rate.</description></item><item><title>Increasing Gradle process memory in KSP2 scenario</title><link>https://cdsap.github.io/Telltale/posts/2025-07-10-cdsap-198-experiment/</link><pubDate>Thu, 10 Jul 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-07-10-cdsap-198-experiment/</guid><description>The analysis of the Gradle build performance data reveals several key insights between the two variants, &lt;code>varianta_k2_kotlin_2.2.0&lt;/code> and &lt;code>variantb_k2_increase_memory_gradle&lt;/code>. The overall build time for &lt;code>variantb_k2_increase_memory_gradle&lt;/code> is slightly higher at approximately 626.643 seconds compared to 618.083 seconds for &lt;code>varianta_k2_kotlin_2.2.0&lt;/code>, marking a 1.38% increase. Among the most time-consuming tasks, significant differences are observed in tasks like &lt;code>com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask&lt;/code> and &lt;code>dagger.hilt.android.plugin.task.AggregateDepsTask&lt;/code>, where &lt;code>variantb_k2_increase_memory_gradle&lt;/code> shows increased execution times. Memory usage also shows a notable increase in &lt;code>variantb_k2_increase_memory_gradle&lt;/code> with a maximum of 13.57 GB compared to 11.65 GB in &lt;code>varianta_k2_kotlin_2.2.0&lt;/code>. The total garbage collection (GC) counts are slightly lower in &lt;code>variantb_k2_increase_memory_gradle&lt;/code> across both Gradle and Kotlin processes.</description></item><item><title>K2 with Kotlin 2.1.21</title><link>https://cdsap.github.io/Telltale/posts/2025-06-28-cdsap-197-experiment/</link><pubDate>Sat, 28 Jun 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-06-28-cdsap-197-experiment/</guid><description>The performance comparison between two Gradle build variants shows notable differences in build times and resource usage. Variant B generally exhibits longer build times with a mean build time of 617.338 seconds compared to Variant A&amp;rsquo;s 569.857 seconds, marking an 8.3% increase. The most time-consuming tasks in Variant B are consistently longer than in Variant A, particularly &lt;code>:layer_0:module_0_1:kspDebugKotlin&lt;/code> which takes 14.614 seconds in Variant B versus 10.220 seconds in Variant A. Memory usage is also higher in Variant B with a maximum of 11.73 GB compared to 11.45 GB in Variant A. CPU usage for the build process is slightly higher in Variant B at 96.98% compared to 96.32% in Variant A. Garbage collection activities are more frequent in Variant B with 280 total collections compared to 204 in Variant A, indicating potential inefficiencies in memory management.</description></item><item><title>K2 with Kotlin 2.2</title><link>https://cdsap.github.io/Telltale/posts/2025-06-27-cdsap-196-experiment/</link><pubDate>Fri, 27 Jun 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-06-27-cdsap-196-experiment/</guid><description>The analysis of Gradle build performance data reveals several key differences between &lt;code>varianta_kotlin_2.2.0&lt;/code> and &lt;code>variantb_k2_kotlin_2.2.0&lt;/code>. Notably, the overall build time for variant B is longer by approximately 42.7 seconds (7.3% increase). In task execution, the &lt;code>:layer_0:module_0_10:kspDebugKotlin&lt;/code> task shows a significant increase in execution time in variant B, suggesting a potential area for optimization. Memory usage is higher in variant B across all processes, with a notable increase in the main build process (up to 6.7 GB in variant B compared to 5.1 GB in variant A). Garbage collection activities also increased in variant B, indicating heavier memory management activities. These findings suggest that variant B may be less efficient in terms of both time and resource usage compared to variant A.</description></item><item><title>Kotlin 2.2.0 vs 2.1.21, Android 230 modules</title><link>https://cdsap.github.io/Telltale/posts/2025-06-26-cdsap-195-experiment/</link><pubDate>Thu, 26 Jun 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-06-26-cdsap-195-experiment/</guid><description>The analysis of the Gradle build performance data reveals subtle yet insightful differences between two Kotlin variants, &lt;code>varianta_kotlin_2.1.21&lt;/code> and &lt;code>variantb_kotlin_2.2.0&lt;/code>. The overall build time shows a slight improvement in &lt;code>variantb&lt;/code> by approximately 0.42 seconds (0.4% faster). Notably, the most time-consuming tasks across variants include &lt;code>:layer_0:module_0_1:kspDebugKotlin&lt;/code>, &lt;code>:layer_0:module_0_10:kspDebugKotlin&lt;/code>, and &lt;code>:layer_0:module_0_12:kspDebugKotlin&lt;/code>, with &lt;code>variantb&lt;/code> generally showing marginal increases in execution times. CPU and memory usage are closely matched between the variants, with &lt;code>variantb&lt;/code> showing a slight increase in maximum memory usage by about 0.09 GB. Garbage collection metrics indicate a very similar performance, with total collections slightly lower in &lt;code>variantb&lt;/code>. The Kotlin Build Reports highlight a faster compiler code generation and analysis in &lt;code>variantb&lt;/code>, suggesting efficiency improvements in the newer Kotlin version.</description></item><item><title>Kotlin 2.1.20 vs 2.1.0 in nowinandroid</title><link>https://cdsap.github.io/Telltale/posts/2025-03-21-cdsap-150-experiment/</link><pubDate>Fri, 21 Mar 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-03-21-cdsap-150-experiment/</guid><description>The Gradle build performance comparison shows a slight improvement in overall build times for variantb_kotlin_2_1_20 compared to varianta_main_2_1_0, with a mean time of 213.747 seconds versus 214.317 seconds, respectively. The most time-consuming tasks across both variants were &amp;lsquo;org.jetbrains.kotlin.gradle.tasks.KotlinCompile&amp;rsquo;, &amp;lsquo;com.android.build.gradle.internal.tasks.DexMergingTask&amp;rsquo;, and &amp;lsquo;com.android.build.gradle.tasks.PackageApplication&amp;rsquo;. Notably, the &amp;lsquo;com.google.devtools.ksp.gradle.KspTaskJvm&amp;rsquo; task showed a significant timing variation of more than 10% between the two variants. In terms of resource consumption, both variants showed similar CPU and memory usage, with a slight increase in memory usage for variantb_kotlin_2_1_20.</description></item><item><title>Reducing parallelization of Kotlin compiler to 3 workers in nowinandroid</title><link>https://cdsap.github.io/Telltale/posts/2025-03-18-cdsap-136-experiment/</link><pubDate>Tue, 18 Mar 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-03-18-cdsap-136-experiment/</guid><description>The Gradle build performance comparison shows that the build times between the two variants are almost identical with a mean difference of just 99ms (0.05%). The variant with the Kotlin compiler and 3 workers (variantb_kotlin_compiler_3_workers) has slightly higher P90 values in most tasks, indicating that it might be slower in worst-case scenarios. The most time-consuming tasks across both variants are &lt;code>:app:l8DexDesugarLibDemoDebug&lt;/code>, &lt;code>:app:mergeExtDexDemoDebug&lt;/code>, and &lt;code>:core:designsystem:compileDemoDebugKotlin&lt;/code>. Notably, the &lt;code>:app:mergeExtDexDemoDebug&lt;/code> task is faster in variantb_kotlin_compiler_3_workers by 10.3%. CPU and memory usage are almost identical between the two variants.</description></item></channel></rss>