Giter Site home page Giter Site logo

emergetools-perf-analysis-reproducer's Introduction

EmergeTools-Perf-Analysis-Reproducer

Reproducer project for Emerge Tools Performance Analysis incompatibility.

Project Configuration

Component Version
Android Gradle Plugin 8.1.1
Kotlin 1.8.21
Android Studio Android Studio Hedgehog 2023.1.1 RC 1
  • Not necessarily need to match, but just in case any incompatibilities are encountered.

Bug Description

Performance analysis tasks are not registering to the application project.

Precondition

Set the following property to true

gradle.properties

org.gradle.configureondemand=true

See: Configuration on demand

Reproducing Steps

Configuration

:app/build.gradle.kts

plugins {
    id("com.emergetools.android") version "2.1.1"
}

emerge {
    performance {
        // Note that this is the relative path from the rootProject
        projectPath.set(":performance")
    }
}

Execution

Execute:

$ ./gradlew :app:emergeGeneratePerformanceProject --package <package name>

Sync project.

Execute:

$ ./gradlew :app:tasks

Expected Behavior

Expected registered tasks:

Emerge tasks
------------
emergeLocalDebugTest - Installs and runs tests for debug on connected devices. For testing and debugging.
emergeLocalReleaseTest - Installs and runs tests for release on connected devices. For testing and debugging.
emergeLocalSnapshotsDebug - Generate snapshots locally for variant Debug. Requires a device or emulator connected.
emergeUploadDebugAab - Builds and uploads an AAB for variant debug to Emerge.
emergeUploadDebugApk - Builds and uploads an APK for variant debug to Emerge.
emergeUploadDebugPerfBundle - Builds & uploads an AAB for variant debug to Emerge with performance test APK.
emergeUploadReleaseAab - Builds and uploads an AAB for variant release to Emerge.
emergeUploadReleaseApk - Builds and uploads an APK for variant release to Emerge.
emergeUploadReleasePerfBundle - Builds & uploads an AAB for variant release to Emerge with performance test APK.
emergeUploadSnapshotBundleDebug - Builds and uploads a snapshot bundle to Emerge. Snapshots will be generated on Emerge's cloud infrastructure and diffed based on the vcs params set in the Emerge plugin extension.

Actual Behavior

Actual registered tasks:

Emerge tasks
------------
emergeLocalSnapshotsDebug - Generate snapshots locally for variant Debug. Requires a device or emulator connected.
emergeUploadDebugAab - Builds and uploads an AAB for variant debug to Emerge.
emergeUploadDebugApk - Builds and uploads an APK for variant debug to Emerge.
emergeUploadReleaseAab - Builds and uploads an AAB for variant release to Emerge.
emergeUploadReleaseApk - Builds and uploads an APK for variant release to Emerge.
emergeUploadSnapshotBundleDebug - Builds and uploads a snapshot bundle to Emerge. Snapshots will be generated on Emerge's cloud infrastructure and diffed based on the vcs params set in the Emerge plugin extension.

Additional Context

It appears the Emerge Tools Performance Analysis feature is incompatible with configuration on demand gradle feature.

emergetools-perf-analysis-reproducer's People

Contributors

ivanalvarado avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.