<?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>Metro on Telltale — Gradle build experiment results</title><link>https://cdsap.github.io/Telltale/components/metro/</link><description>Recent content in Metro on Telltale — Gradle build experiment results</description><generator>Hugo -- 0.145.0</generator><language>en-us</language><lastBuildDate>Fri, 09 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://cdsap.github.io/Telltale/components/metro/index.xml" rel="self" type="application/rss+xml"/><item><title>Nowinandroid with Metro</title><link>https://cdsap.github.io/Telltale/posts/2026-01-09-cdsap-267-experiment/</link><pubDate>Fri, 09 Jan 2026 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2026-01-09-cdsap-267-experiment/</guid><description>The analysis of the Gradle build performance data reveals that variant &lt;code>variantb_useMetro_false&lt;/code> generally has longer build times compared to &lt;code>varianta_useMetro_true&lt;/code>. Specifically, the mean build time for &lt;code>variantb_useMetro_false&lt;/code> is approximately 15.7% longer, translating to about 18.9 seconds more. Configuration times are also slightly higher in &lt;code>variantb_useMetro_false&lt;/code> by about 3.9%. Task execution times show significant variability, with some tasks like &lt;code>com.google.devtools.ksp.gradle.KspAATask&lt;/code> showing drastic differences (over 75% faster in &lt;code>varianta_useMetro_true&lt;/code>). Memory usage is slightly higher in &lt;code>variantb_useMetro_false&lt;/code> across all processes, with the build process memory usage notably about 18% higher. The total garbage collection (GC) counts are also higher in &lt;code>variantb_useMetro_false&lt;/code> for both Gradle and Kotlin processes, indicating potentially less efficient memory management.</description></item><item><title>[Catchup] anvil vs metro - clean build</title><link>https://cdsap.github.io/Telltale/posts/2025-05-18-cdsap-187-experiment/</link><pubDate>Sun, 18 May 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-05-18-cdsap-187-experiment/</guid><description>The performance analysis of the two Gradle build variants, &lt;code>varianta_anvil&lt;/code> and &lt;code>variantb_metro_0_3_2&lt;/code>, reveals significant differences in build times and task execution. &lt;code>variantb_metro_0_3_2&lt;/code> shows a faster overall build time by approximately 22.2 seconds (14.1%) compared to &lt;code>varianta_anvil&lt;/code>. Notably, the &lt;code>com.google.devtools.ksp.gradle.KspAATask&lt;/code> and &lt;code>org.jetbrains.kotlin.gradle.tasks.KotlinCompile&lt;/code> tasks in &lt;code>variantb_metro_0_3_2&lt;/code> are considerably slower, indicating potential areas for optimization. Memory usage is slightly lower in &lt;code>variantb_metro_0_3_2&lt;/code> across all processes, with a maximum difference of about 0.19 GB. The Kotlin Build Reports highlight &lt;code>variantb_metro_0_3_2&lt;/code> as having a higher compiler IR translation time and more intensive code analysis, suggesting more complex operations despite the overall faster build time.</description></item><item><title>[Catchup] anvil vs metro - incremental build</title><link>https://cdsap.github.io/Telltale/posts/2025-05-18-profiler-cdsap-18-experiment/</link><pubDate>Sun, 18 May 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-05-18-profiler-cdsap-18-experiment/</guid><description>The analysis of the Gradle build performance data reveals a notable improvement in overall build times when comparing variant B (metro_0_3_2) to variant A (anvil). Specifically, variant B is faster by approximately 6.7 seconds (26.012s for A vs. 19.291s for B), translating to a 25.8% decrease in build time. This improvement is consistent across the 50th and 90th percentiles as well. In task execution, the &lt;code>:app-scaffold:compileDebugKotlin&lt;/code> task shows a significant increase in execution time in variant B, while &lt;code>:app-scaffold:kspDebugKotlin&lt;/code> is notably faster. The Kotlin build reports highlight a substantial increase in IR translation time for variant B, suggesting a potential area for optimization. Memory and CPU usage are slightly higher in variant B for all processes, with the build child processes in variant B utilizing significantly more CPU resources. Lastly, garbage collection data indicates fewer total collections in variant B, suggesting more efficient memory management.</description></item><item><title>CatchUp using Metro on clean builds</title><link>https://cdsap.github.io/Telltale/posts/2025-04-10-cdsap-171-experiment/</link><pubDate>Thu, 10 Apr 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-04-10-cdsap-171-experiment/</guid><description>The analysis of the Gradle build performance comparison data between two variants reveals notable differences in build times and task execution times. Variant B (&lt;code>variantb_z/metro&lt;/code>) shows a faster overall build time with a mean reduction of 20.42 seconds (13.4% faster) compared to Variant A (&lt;code>varianta_main&lt;/code>). Key tasks such as &lt;code>com.android.build.gradle.internal.tasks.MapSourceSetPathsTask&lt;/code> and &lt;code>com.google.devtools.ksp.gradle.KspAATask&lt;/code> also exhibit significant time reductions in Variant B. Memory usage is slightly lower in Variant B across all processes, with a maximum memory usage of 6.9 GB compared to 7.04 GB in Variant A. CPU usage is nearly identical for both variants, maxing out at 100% for all processes.</description></item><item><title>CatchUp using Metro with abi scenario</title><link>https://cdsap.github.io/Telltale/posts/2025-04-10-profiler-cdsap-17-experiment/</link><pubDate>Thu, 10 Apr 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-04-10-profiler-cdsap-17-experiment/</guid><description>The performance comparison between &lt;code>varianta_main&lt;/code> and &lt;code>variantb_z/metro&lt;/code> reveals that &lt;code>variantb_z/metro&lt;/code> generally has a shorter build time with a mean reduction of 25.1% (6.622 seconds). Notably, &lt;code>variantb_z/metro&lt;/code> also exhibits higher CPU usage in build child processes, suggesting more intensive parallel task execution. In the Kotlin Build Reports, &lt;code>variantb_z/metro&lt;/code> shows a significant increase in Compiler IR translation time, which could indicate more complex translation processes. Memory usage is slightly lower in &lt;code>variantb_z/metro&lt;/code> across all processes, contributing to its efficiency.</description></item></channel></rss>