<?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>Agp on Telltale — Gradle build experiment results</title><link>https://cdsap.github.io/Telltale/components/agp/</link><description>Recent content in Agp on Telltale — Gradle build experiment results</description><generator>Hugo -- 0.145.0</generator><language>en-us</language><lastBuildDate>Tue, 18 Nov 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://cdsap.github.io/Telltale/components/agp/index.xml" rel="self" type="application/rss+xml"/><item><title>AGP9-beta01 with builtInKotlin</title><link>https://cdsap.github.io/Telltale/posts/2025-11-18-cdsap-239-experiment/</link><pubDate>Tue, 18 Nov 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-11-18-cdsap-239-experiment/</guid><description>The performance comparison between two Gradle build variants, &lt;code>varianta_agp_9_0_0_beta01_no_builtInKotlin&lt;/code> and &lt;code>variantb_agp_9_0_0_beta01_builtInKotlin&lt;/code>, reveals minor differences in build times and task execution. The overall build time for variant A averages 555.578 seconds, slightly longer than variant B&amp;rsquo;s 551.235 seconds. Notably, the configuration time for variant A is also higher at 55.243 seconds compared to 52.432 seconds for variant B. The most time-consuming tasks across both variants include &lt;code>:core:cart:kspDebugKotlin&lt;/code>, &lt;code>:core:contact:kspDebugKotlin&lt;/code>, and &lt;code>:core:comment:kspDebugKotlin&lt;/code>, with marginal differences in execution times between the two variants. CPU and memory usage are nearly identical for both variants, with maximum values reaching up to 100% CPU usage and 11.78 GB of memory for all processes.</description></item><item><title>AGP 9.0.0-beta01 vs 8.13.1</title><link>https://cdsap.github.io/Telltale/posts/2025-11-13-cdsap-227-experiment/</link><pubDate>Thu, 13 Nov 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-11-13-cdsap-227-experiment/</guid><description>The performance analysis between two Gradle build variants, &lt;code>varianta_agp_9_0_0_beta01&lt;/code> and &lt;code>variantb_agp_8_13_1&lt;/code>, reveals several key insights. The overall build time for &lt;code>varianta&lt;/code> is slightly faster, averaging 554.782 seconds compared to &lt;code>variantb&lt;/code>&amp;rsquo;s 566.004 seconds, a difference of approximately 2%. Notably, &lt;code>varianta&lt;/code> also shows a quicker configuration time, averaging 53.077 seconds versus &lt;code>variantb&lt;/code>&amp;rsquo;s 59.078 seconds, indicating a 10% improvement.
In task execution, &lt;code>varianta&lt;/code> generally performs better in CPU and memory usage, with a maximum CPU usage slightly lower than &lt;code>variantb&lt;/code> (97.14% vs. 96.96%) and a more efficient memory usage profile. The analysis of garbage collection shows &lt;code>varianta&lt;/code> having fewer total collections (251) compared to &lt;code>variantb&lt;/code> (259), suggesting better memory management.</description></item><item><title>AGP 9-alpha02</title><link>https://cdsap.github.io/Telltale/posts/2025-08-27-cdsap-209-experiment/</link><pubDate>Wed, 27 Aug 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-08-27-cdsap-209-experiment/</guid><description>The performance comparison between two Gradle build variants, &lt;code>varianta_agp_8.12&lt;/code> and &lt;code>variantb_agp_9-alpha02&lt;/code>, shows that the newer variant generally improves build performance. The mean build time decreased from 376.749 seconds in &lt;code>varianta&lt;/code> to 370.775 seconds in &lt;code>variantb&lt;/code>, a reduction of approximately 1.58%. The P50 and P90 values also show improvements with reductions of 1.58% and 5.44% respectively. Notably, the most time-consuming tasks across both variants include &lt;code>:core:identity:compileDebugKotlin&lt;/code>, &lt;code>:core:cart:compileDebugKotlin&lt;/code>, and &lt;code>:app:app:mergeExtDexDebug&lt;/code>, with &lt;code>variantb&lt;/code> showing slight improvements in execution times for these tasks. Memory and CPU usage metrics indicate marginal differences, with &lt;code>variantb&lt;/code> generally using slightly less memory. The total garbage collection counts are very similar between the variants, suggesting stable memory management across builds.</description></item><item><title>AGP 9.0.0-alpha01 vs AGP 8.12</title><link>https://cdsap.github.io/Telltale/posts/2025-08-14-cdsap-206-experiment/</link><pubDate>Thu, 14 Aug 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-08-14-cdsap-206-experiment/</guid><description>The analysis of Gradle build performance between two variants, &lt;code>varianta_agp_8.12&lt;/code> and &lt;code>variantb_agp_9-alpha01&lt;/code>, reveals a slight increase in overall build time in the newer variant by approximately 0.35 seconds (0.35% increase). The configuration time also shows a minor increase by about 0.09 seconds (2.15% increase). The most time-consuming tasks across both variants include &lt;code>:core:cart:compileDebugKotlin&lt;/code>, &lt;code>:core:identity:compileDebugKotlin&lt;/code>, and &lt;code>:core:contact:compileDebugKotlin&lt;/code>, with marginal differences in execution times between the variants. Memory usage is slightly higher in &lt;code>variantb_agp_9-alpha01&lt;/code> for all processes and specifically for build child processes. CPU usage remains nearly identical across both variants. The total garbage collection counts are slightly reduced in the newer variant.</description></item><item><title>Comparing AGP 8.9 vs 8.10.1 (nowinandroid)</title><link>https://cdsap.github.io/Telltale/posts/2025-06-09-cdsap-188-experiment/</link><pubDate>Mon, 09 Jun 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-06-09-cdsap-188-experiment/</guid><description>The analysis of the Gradle build performance data reveals a slight increase in overall build time when comparing variant B (AGP 8.10.1) to variant A. Specifically, the mean build time for variant B is approximately 0.61 seconds longer than variant A, representing a 0.6% increase. The P90 build times show a more pronounced difference, with variant B taking about 6.24 seconds longer than variant A, a 2.7% increase. In task execution, the most significant time differences are observed in tasks like &lt;code>:app:transformDemoDebugClassesWithAsm&lt;/code> and &lt;code>:app:jacocoDemoDebug&lt;/code>, where variant B shows increased execution times. Memory and CPU usage across all processes and specifically for the build processes are relatively stable with minor fluctuations. The total garbage collection (GC) counts are slightly higher in variant B for both Gradle and Kotlin processes, indicating a marginal increase in memory management activities.</description></item><item><title>Comparing assembleRelease in AGP 8.9 vs 8.10.1 (nowinandroid)</title><link>https://cdsap.github.io/Telltale/posts/2025-06-09-cdsap-189-experiment/</link><pubDate>Mon, 09 Jun 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-06-09-cdsap-189-experiment/</guid><description>The performance comparison between two Gradle build variants reveals minor differences in build times and resource usage. The mean build time for &lt;code>varianta_main&lt;/code> is 515.286 seconds, while &lt;code>variantb_agp_8_10_1&lt;/code> is slightly longer at 516.571 seconds, marking a 0.25% increase. The most time-consuming tasks include &lt;code>com.android.build.gradle.internal.tasks.R8Task&lt;/code> and &lt;code>com.android.build.gradle.internal.tasks.L8DexDesugarLibTask&lt;/code>, with notable differences in execution times between the variants. CPU and memory usage across all processes and specifically for the build processes are nearly identical, with &lt;code>variantb_agp_8_10_1&lt;/code> showing a slight decrease in memory usage.</description></item><item><title>Comparing lintDebug in 300 modules project limiting task parallelization (3 workers)</title><link>https://cdsap.github.io/Telltale/posts/2025-05-13-cdsap-176-experiment/</link><pubDate>Tue, 13 May 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-05-13-cdsap-176-experiment/</guid><description>The performance comparison between &lt;code>varianta_main&lt;/code> and &lt;code>variantb_lint_1.5g&lt;/code> reveals significant differences in build times and resource utilization. &lt;code>variantb_lint_1.5g&lt;/code> shows a notable reduction in overall build time, clocking in at approximately 1057.511 seconds compared to &lt;code>varianta_main&lt;/code>&amp;rsquo;s 1642.304 seconds, marking a decrease of around 35.6%. This variant also uses less memory, with a maximum of 11.64 GB compared to &lt;code>varianta_main&lt;/code>&amp;rsquo;s 13.69 GB. However, CPU usage is slightly higher in &lt;code>variantb_lint_1.5g&lt;/code> for the build process, peaking at 93.95% versus 92.00% in &lt;code>varianta_main&lt;/code>.</description></item><item><title>Comparing lintDebug in 300 modules project limiting task parallelization</title><link>https://cdsap.github.io/Telltale/posts/2025-03-31-cdsap-160-experiment/</link><pubDate>Mon, 31 Mar 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-03-31-cdsap-160-experiment/</guid><description>The analysis of the Gradle build performance comparison between &lt;code>varianta_main&lt;/code> and &lt;code>variantb_lint_2g&lt;/code> reveals several key findings. The overall build time for &lt;code>variantb_lint_2g&lt;/code> is longer by approximately 73 seconds (7.3% increase) compared to &lt;code>varianta_main&lt;/code>. In task execution, the most significant difference is observed in the &lt;code>:layer_0:module_0_1:lintAnalyzeDebug&lt;/code> task, where &lt;code>variantb_lint_2g&lt;/code> takes about 13.64 seconds longer than &lt;code>varianta_main&lt;/code>. Memory and CPU usage across all processes are relatively similar between the two variants, with slight variations in peak values. The total garbage collection (GC) count was lower in &lt;code>variantb_lint_2g&lt;/code> by 73 collections, indicating potentially more efficient memory management.</description></item><item><title>Testing reservedMemoryPerTask 1G in Lint builds</title><link>https://cdsap.github.io/Telltale/posts/2025-03-28-cdsap-159-experiment/</link><pubDate>Fri, 28 Mar 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-03-28-cdsap-159-experiment/</guid><description>The analysis of the Gradle build performance data reveals minor differences between the two variants, with variant B showing a slight increase in overall build time by approximately 0.3 seconds (0.3%). Notably, the most time-consuming tasks across both variants include &lt;code>com.android.build.gradle.internal.lint.AndroidLintAnalysisTask&lt;/code>, &lt;code>:core:designsystem:compileProdReleaseKotlin&lt;/code>, and &lt;code>:core:common:lintAnalyzeJvmMain&lt;/code>, with variant B generally performing slightly better in these tasks. Memory and CPU usage are nearly identical for both variants, with no significant differences observed. The total garbage collection counts for Gradle and Kotlin processes are slightly lower in variant B, suggesting marginally better memory management.</description></item><item><title>Using R8 in a different process with 4gb and G1</title><link>https://cdsap.github.io/Telltale/posts/2025-03-26-cdsap-152-experiment/</link><pubDate>Wed, 26 Mar 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-03-26-cdsap-152-experiment/</guid><description>The performance comparison between two Gradle build variants, &lt;code>varianta_main_r8&lt;/code> and &lt;code>variantb_r8_different_process&lt;/code>, reveals several key differences. The overall build time for &lt;code>variantb_r8_different_process&lt;/code> is slightly higher by approximately 10.6 seconds (2.04% increase) compared to &lt;code>varianta_main_r8&lt;/code>. Notably, &lt;code>variantb_r8_different_process&lt;/code> shows a significant increase in memory usage, with a maximum of 14.24 GB compared to 11.2 GB for &lt;code>varianta_main_r8&lt;/code>, marking a 27.14% increase. Additionally, &lt;code>variantb_r8_different_process&lt;/code> has fewer total garbage collection (GC) events in the Gradle process but more in the Kotlin process, suggesting different memory management behaviors. The &lt;code>R8Task&lt;/code> and &lt;code>L8DexDesugarLibTask&lt;/code> are among the most time-consuming tasks, with &lt;code>variantb_r8_different_process&lt;/code> showing longer execution times, especially in &lt;code>L8DexDesugarLibTask&lt;/code> where the mean time increased by over 47%.</description></item></channel></rss>