Gradle does not support a library module to be dependent on an application module. The only solution I came up with is to move just everything from app to a library module (call it, for example, main), so the app module contains only AndroidManifest.xml and gradle configuration. This way benchmark can depend on the main module.

Answer from Evgenii Vorobei on Stack Overflow
๐ŸŒ
Android Developers
developer.android.com โ€บ app quality โ€บ benchmark your app
Benchmark your app | App quality | Android Developers
Benchmarking is a way to inspect and monitor the performance of your app. You can regularly run benchmarks to analyze and debug performance problems and help ensure that you don't introduce regressions in recent changes.
๐ŸŒ
Android Developers
developer.android.com โ€บ app quality โ€บ microbenchmark
Microbenchmark | App quality | Android Developers
We recommend you profile your code before writing a benchmark. This helps you find expensive operations that are worth optimizing. It can also show why the operations are slow by showing what is happening while they run, such as running on a low-priority thread, sleeping due to disk access, or unexpectedly calling into an expensive function, like bitmap decoding. Microbenchmarks are most useful for CPU work that is run many times in your app...
๐ŸŒ
Geekflare
geekflare.com โ€บ mobile โ€บ 7 best android benchmark apps to test the performance of your phone
7 Best Android Benchmark Apps to Test the Performance of Your Phone
January 7, 2025 - Antutu is hands down the leading name in the Android phone benchmark niche because of its exclusive feature set. The application gives you the option to run a full test, including all the tests on the platform, or you can opt for a custom test.
๐ŸŒ
Google AI
ai.google.dev โ€บ google ai edge โ€บ performance measurement
Performance measurement | Google AI Edge | Google AI for Developers
In particular, Android's scheduler tailors behavior based on thread and process priorities, which differ between a foreground Activity/Application and a regular background binary executed via adb shell .... This tailored behavior is most evident when enabling multi-threaded CPU execution with LiteRT. Therefore, the Android benchmark app is preferred for performance measurement.
๐ŸŒ
Google Play
play.google.com โ€บ store โ€บ apps โ€บ details
3DMark โ€” The Gamer's Benchmark - Apps on Google Play
Choose Sling Shot or Sling Shot Extreme benchmarks to compare low- to mid-range Android devices with older iPhone and iPad models. Choose your next phone the easy way With in-app performance data for thousands of devices, it is easy to find and compare the best smartphones and tablets with 3DMark.
Rating: 3.5 โ€‹ - โ€‹ 31.4K votes
๐ŸŒ
AnTuTu
antutu-benchmark.en.uptodown.com โ€บ android โ€บ tools โ€บ general โ€บ antutu benchmark
AnTuTu Benchmark for Android - Download the APK from Uptodown
1 day ago - AnTuTu Benchmark is a benchmarking app for Android operating systems which allows you to test your device's overall performance.
๐ŸŒ
Digital Citizen
digitalcitizen.life โ€บ best-benchmark-apps-android-smartphones-and-tablets
The Best Benchmark Apps For Android Smartphones And Tablets
October 2, 2025 - The best benchmark apps for Android: AnTuTu, Vellamo, Geekbench 3, 3Dmark Ice Storm, 3DMark Sling Shot, PCMark, GFXBench GL, Basemark OS II.
Find elsewhere
๐ŸŒ
Benchmarks
benchmarks.ul.com โ€บ 3dmark-android
3DMark Android Benchmark
Benchmark your Android smartphone and tablet with 3DMark, the Gamer's Benchmark. Free download, start benchmarking now.
๐ŸŒ
Google Play
play.google.com โ€บ store โ€บ apps โ€บ details
Geekbench 6 - Apps on Google Play
How will it compare to the newest devices on the market? Find out today with Geekbench 6. Test the performance of your Android smartphone or tablet and compare your results with Geekbench โ€“ a leader in CPU and GPU benchmarking.
Rating: 4.1 โ€‹ - โ€‹ 3.75K votes
๐ŸŒ
Medium
medium.com โ€บ @sandeepkella23 โ€บ level-up-your-android-apps-performance-a-guide-to-micro-benchmarking-baseline-profiles-and-9c3f9dd24b29
Level Up Your Android Appโ€™s Performance: A Guide to Micro benchmarking, Baseline Profiles, and Startup Profiling | by Sandeep Kella | Medium
May 7, 2024 - Startup Profiling: As the name suggests, this focuses on measuring and optimizing the time it takes for your app to launch. Faster startup times lead to a more engaging user experience, especially for users on low-end devices or with slower network connections. Every second saved during startup translates to a more positive first impression. ... Create a Macrobenchmark Module: Right-click your project and choose โ€œNewโ€ -> โ€œModuleโ€ -> โ€œBenchmarkโ€ (MacroBenchmark). This module houses your benchmark tests. ... Add the androidx.benchmark:benchmark-junit4 library to your benchmark module's build.gradle file.
๐ŸŒ
Review Hub
review-hub.co.uk โ€บ home โ€บ phones โ€บ the best android mobile benchmarking apps 2023 (free)
6 Best Apps: Benchmarking Your Android Phone & Tablet | RH
April 25, 2023 - AnTuTu Benchmarking is the defacto performance & gaming benchmarking test on Android. This benchmarking tool gives you an overall score made up of 4 elements: ... What makes the app so useful is the massive amount of benchmarking results that ...
๐ŸŒ
PassMark
androidbenchmark.net
PassMark Android Benchmark Charts
PassMark Android Benchmarks - Phone models benchmarked and compared in graph form, updated daily!
๐ŸŒ
Android Guรญas
en.androidguias.com โ€บ android guides โ€บ android apps โ€บ the best benchmark apps for android: review, guide, and complete comparison
The best benchmark apps for Android: review, guide, and complete comparison
May 9, 2025 - We take a detailed look at the features and types of tests performed by leading apps like Geekbench, AnTuTu, 3DMark, PCMark, GFXBench, and alternative options. Learn how to interpret benchmark results to compare and understand the real-world ...
๐ŸŒ
GitHub
github.com โ€บ S2-group โ€บ android-apps-benchmark
GitHub - S2-group/android-apps-benchmark: Android apps and apps generator for benchmarking runtime properties on Android devices
Android apps and apps generator for benchmarking runtime properties on Android devices - S2-group/android-apps-benchmark
Author ย  S2-group
๐ŸŒ
Android Developers
developer.android.com โ€บ app quality โ€บ benchmark in continuous integration
Benchmark in Continuous Integration | App quality | Android Developers
Therefore run :app:assemble[VariantName] and :macrobenchmark:assemble[VariantName] Gradle tasks. These steps are typically done without needing to run Gradle tasks. Note, they may be abstracted depending on whether you use a service that lets you run tests on real devices. For installation, use the adb install command and specify the test APK or the target APK. Run the adb shell am instrument command to run all the benchmarks:
๐ŸŒ
Aptoide
antutu-benchmark.en.aptoide.com โ€บ homepage โ€บ android apps โ€บ tools โ€บ antutu benchmark
Antutu benchmark - APK Download for Android | Aptoide
โ˜† No.1 benchmark app,used as an industry standard by most of leading technology companies and hardware review sites. Through click and go test suite, Antutu benchmark measures User Experience, CPU, RAM, 2D/3D graphics, GPU, I/O performance ...