generating-baseline-profiles

Community

Generate baseline profiles for Compose

Authorskydoves
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Baseline performance profiling for Jetpack Compose apps by generating and validating AOT baseline profiles to improve cold startup and first-scroll smoothness.

Core Features & Use Cases

  • End-to-end Baseline Profiles: Generate and verify baseline profiles using BaselineProfileRule and Macrobenchmark.
  • Release-ready Measurement: Measure with Macrobenchmark using CompilationMode.Partial(BaselineProfileMode.Require) against a real device.
  • APK Validation: Confirm assets/dexopt/baseline.prof and baseline.profm are shipped in the APK and wiring is present in app module.

Quick Start

Run the Gradle task to generate the baseline profile and execute the Macrobenchmark suite to verify improvements.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generating-baseline-profiles
Download link: https://github.com/skydoves/compose-performance-skills/archive/main.zip#generating-baseline-profiles

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.