Skip to content

Compose Compiler Metrics

Actions
Print compose compiler metrics
v1
Latest
Star (4)

Tags

 (2)

Android Compose Compiler Metrics Action

GitHub Action that prints compose compiler metrics reports.

action


Getting Started

Add the following action to your GitHub Actions workflow.

- name: Compose Metrics
  uses: lhoyong/android-compose-metrics-action@v1
  with:
    # set compose metrics directory.
    # see project root/build.gradle.kts
    directory: 'compose_metrics' # required

Usage

name: Build
on:
  push:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - name: set up JDK 11
        uses: actions/setup-java@v3
        with:
          distribution: adopt
          java-version: 11

      - name: Build
        run: ./gradlew assembleDebug -Papp.enableComposeCompilerReports=true

      - name: Compose Metrics
        uses: lhoyong/android-compose-metrics-action@v1
        with:
          directory: 'compose_metrics' # see sample project app/build.gradle.kts

Note

The workflow must contain the compose compiler plugin prior to running the compose metrics action


Compose Compiler Metrics is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Print compose compiler metrics
v1
Latest

Tags

 (2)

Compose Compiler Metrics is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.