-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The benchmark setup with release target is unrealistic #93
Comments
Could you provide more info about the problem you have? |
No problem, just a suggestion for the sample. In the benchmark sample, the build setup uses a release target, which as a sample probably isn't something we would advise developers to follow. https://github.com/android/performance-samples/blob/main/BenchmarkSample/benchmark/build.gradle The ui module doesn't define any build variants, so presumably just has debug and release. |
@mlykotom apologies for the terrible bug report, I keep forgetting the context I have in my head when I drop a quick bug. |
Why do you say this isn't something to advise? Benchmarks are in their own separate module, so it's not necessary to create a new buildType, separate from release. Nothing should ever take a dependency on a release library module that's only used for tests. For macrobenchmark, what you're saying is true, which is why we recently changed it to use a separate |
Thanks, I'll close then. |
Seems like useful sample to show both benchmark and release targets.
The text was updated successfully, but these errors were encountered: