Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

I have been going with Write a Macrobenchmark. I get errors with R8. Outputs are: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are ...
1 vote
1 answer
151 views

As a step in creating baseline profiles for my app, I need to wait for my feed to render. The problem is that I do not know the exact tag to wait for since the feed is dynamic and the tag might not ...
2 votes
1 answer
521 views

I have added macrobenchmark module with StartupTimingMetric and FrameTimingMetric metrics long time ago and my setup was working fine. Since then I have not been running benchmarks due to some reasons....
4 votes
1 answer
1k views

After creating a new BaselineProfile module, I tried to execute the task: and I'm getting the following error: Cannot locate tasks that match ':app:generateBenchmarkReleaseBaselineProfile' as task '...
1 vote
0 answers
79 views

I have a multimodular project and I want to test benchmarking These are my modules :app [variant : debug, release ; flavors: prod, stage] [globalPackageName] :presentation [loginPackageName] :data :...
1 vote
1 answer
281 views

I am getting below error while running macrobenchmark test for to measure App Startup Time testInstrumentationRunnerArguments["androidx.benchmark.suppressErrors"] = "EMULATOR,...
Naveen's user avatar
  • 262
1 vote
0 answers
150 views

I have an application that requires a user to be logged-in in order to function. Every time I try to launch the Macrobench, it appears that the APK is being built, then deleted on the target, then ...
0 votes
1 answer
63 views

Is there a way to detect when MacroBenchmark is running? Ideally I wish to use this check to connect to a WireMock server running on my host machine.
2 votes
1 answer
431 views

I am trying to setup macrobenchmarking on my app which has multiple modules and multiple flavors and following the android developer guide. However, I am getting below error related to ...
1 vote
1 answer
1k views

I am trying to improve performance for my application by trying baseprofile but unable to run it. Configured the project with gradle 8.2 and 'androidx.profileinstaller:profileinstaller:1.3.1' '...
0 votes
1 answer
679 views

I have implemented Baseline Profile for Android. I can see baseline.prof in assets/dexopt Also, profileinstaller dependency is already added. But still not clear about its benefits? Baseline profile ...
5 votes
0 answers
296 views

I'm trying to generate a baseline profile for my app but I'm seeing the following errors: :benchmark:connectedReleaseAndroidTest java.io.FileNotFoundException: META-INF/native/...
1 vote
2 answers
2k views

I am trying to perform a scroll test on a recycler view using FrameTimingMetric for 5 iterations. My AppStartup Test using StartupTimingMetric() is working fine and generating results for all 5 ...
0 votes
1 answer
2k views

Getting this error while running startup baseline benchmarks, according to the error I need to add this dependency in my build.gradle of main android module and it is already added there ...
0 votes
2 answers
1k views

This is my Macrobenchmark test to measure StartupTimingMetric @RunWith(AndroidJUnit4::class) @LargeTest class Startup { @get:Rule val rule = MacrobenchmarkRule() @Test fun ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /