Report 📊

Summary

The performance comparison between varianta_baseline and variantb_agp-9.3.0 shows minor differences in build times and task execution times. The overall build time for variantb_agp-9.3.0 is slightly higher by about 0.14% (365ms difference). Configuration time also increased by about 3.5% (1.4 seconds difference) in variantb_agp-9.3.0. Notably, the :app:app:kspDebugKotlin task showed a significant increase in execution time by approximately 10%, indicating a potential area for optimization in variantb_agp-9.3.0. Memory usage is slightly higher in variantb_agp-9.3.0 with a peak of 9.66 GB compared to 9.22 GB in varianta_baseline. CPU usage remains maximized at 100% for all processes in both variants.

Detailed Report

1. Build Time Comparison

  • Overall Build Time:

    • Mean: varianta_baseline 267.772s vs variantb_agp-9.3.0 268.137s (0.14% increase)
    • P50: varianta_baseline 268.421s vs variantb_agp-9.3.0 271.181s
    • P90: varianta_baseline 289.767s vs variantb_agp-9.3.0 287.325s
  • Configuration Time:

    • Mean: varianta_baseline 40.153s vs variantb_agp-9.3.0 41.553s (3.5% increase)
    • P50: varianta_baseline 40.618s vs variantb_agp-9.3.0 41.317s
    • P90: varianta_baseline 44.207s vs variantb_agp-9.3.0 46.970s

2. Task Type Differences

  • Top 3 time-consuming tasks for varianta_baseline:

    1. :app:app:mergeExtDexDebug (Mean: 19.103s)
    2. :app:app:kspDebugKotlin (Mean: 4.569s)
    3. :core:cart:compileDebugKotlin (Mean: 8.896s)
  • Comparison in variantb_agp-9.3.0:

    1. :app:app:mergeExtDexDebug (Mean: 19.125s)
    2. :app:app:kspDebugKotlin (Mean: 5.023s, 10% increase)
    3. :core:cart:compileDebugKotlin (Mean: 9.119s)

3. Statistical Patterns

  • Notable timing variations:
    • :app:app:kspDebugKotlin shows a significant increase in execution time in variantb_agp-9.3.0.
    • Most other tasks show minor variations, generally within 10%.

5. CPU & Memory Usage Analysis

  • CPU Usage:

    • All processes: Maxed at 100% for both variants.
    • Build process: varianta_baseline 95.37% vs variantb_agp-9.3.0 95.3%.
    • Build child processes: varianta_baseline 93.77% vs variantb_agp-9.3.0 93.37%.
  • Memory Usage:

    • All processes: varianta_baseline Max 8.51 GB vs variantb_agp-9.3.0 Max 8.64 GB.
    • Build process: varianta_baseline Max 4.02 GB vs variantb_agp-9.3.0 Max 4.15 GB.
    • Build child processes: varianta_baseline Max 3.36 GB vs variantb_agp-9.3.0 Max 3.38 GB.

This analysis highlights the need to investigate the increased configuration time and the specific task :app:app:kspDebugKotlin in variantb_agp-9.3.0 for potential optimizations. Memory usage, although slightly higher in variantb_agp-9.3.0, remains within acceptable limits.