<?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>Jvm on Telltale — Gradle build experiment results</title><link>https://cdsap.github.io/Telltale/components/jvm/</link><description>Recent content in Jvm on Telltale — Gradle build experiment results</description><generator>Hugo -- 0.145.0</generator><language>en-us</language><lastBuildDate>Sun, 22 Jun 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://cdsap.github.io/Telltale/components/jvm/index.xml" rel="self" type="application/rss+xml"/><item><title>Parallel vs G1 - 400 modules Project</title><link>https://cdsap.github.io/Telltale/posts/2025-06-22-cdsap-194-experiment/</link><pubDate>Sun, 22 Jun 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-06-22-cdsap-194-experiment/</guid><description>The performance comparison between &lt;code>varianta_parallel&lt;/code> and &lt;code>variantb_g1&lt;/code> reveals several key insights. The overall build time for &lt;code>variantb_g1&lt;/code> is longer by approximately 55 seconds (6% increase) compared to &lt;code>varianta_parallel&lt;/code>. Notably, the &lt;code>DexMergingTask&lt;/code> and &lt;code>AggregateDepsTask&lt;/code> show significant time increases in &lt;code>variantb_g1&lt;/code>, suggesting areas where performance optimizations could be targeted.
In task execution, &lt;code>variantb_g1&lt;/code> generally exhibits longer times across most tasks, particularly in Kotlin compilation tasks like &lt;code>:layer_0:module_0_10:kspDebugKotlin&lt;/code>, which is about 7% slower in &lt;code>variantb_g1&lt;/code>. Memory usage is slightly higher in &lt;code>variantb_g1&lt;/code> by about 0.3 GB, aligning with the increased build times and task durations observed.
The garbage collection logs indicate a similar number of total collections between the variants, suggesting that garbage collection overhead does not significantly differ between them. The Kotlin Build Reports highlight a slower performance in &lt;code>variantb_g1&lt;/code> across various metrics, including compiler initialization, IR generation, and code generation, which corroborates the observed longer build times.</description></item><item><title>Comparing -Xms usage in nowinandroid</title><link>https://cdsap.github.io/Telltale/posts/2025-03-21-cdsap-149-experiment/</link><pubDate>Fri, 21 Mar 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-03-21-cdsap-149-experiment/</guid><description>The analysis of the Gradle build performance comparison data reveals that the variant &lt;code>variantb_no_xms&lt;/code> generally takes longer to build than &lt;code>varianta_using_xms&lt;/code>. The mean build time for &lt;code>variantb_no_xms&lt;/code> is approximately 3.5% longer than &lt;code>varianta_using_xms&lt;/code>. 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>. In terms of CPU and memory usage, both variants reach 100% CPU usage, but &lt;code>varianta_using_xms&lt;/code> uses more memory. Garbage collection data shows more collections for &lt;code>variantb_no_xms&lt;/code>.</description></item><item><title>Comparing G1 vs Parallel in nowinandroid</title><link>https://cdsap.github.io/Telltale/posts/2025-03-17-cdsap-135-experiment/</link><pubDate>Mon, 17 Mar 2025 00:00:00 +0000</pubDate><guid>https://cdsap.github.io/Telltale/posts/2025-03-17-cdsap-135-experiment/</guid><description>The Gradle build performance comparison data reveals that variant B (&lt;code>variantb_main_parallel&lt;/code>) generally performs better than variant A (&lt;code>varianta_main_g1&lt;/code>). The mean build time for variant B is approximately 14.3 seconds, which is 6.6% faster than variant A&amp;rsquo;s mean build time of around 21.5 seconds. 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>. Significant differences in task execution times are observed in &lt;code>:app:transformDemoDebugClassesWithAsm&lt;/code> and &lt;code>:core:designsystem:bundleLibCompileToJarDemoDebug&lt;/code>. The CPU and memory usage are also slightly lower for variant B.</description></item></channel></rss>