Assigned
Status Update
Comments
ys...@google.com <ys...@google.com> #2
Update: according to the trace, dex2oat starts at the same moment as the application. So i guess, the problem lays in xiaomi firmware that starts the optimization with the application during benchmark
ra...@google.com <ra...@google.com> #3
Traces are automatically copied to the module's build
directory.
For AndroidX, You should be seeing them in a path that looks something like:
$HOME/Workspace/Projects/androidx/out/androidx/benchmark/integration-tests/macrobenchmark/build/outputs/connected_android_test_additional_output/release/connected
macrobenchmark
for e.g. is the test module.
Description
When running a macrobenchmark from command line (via AGP), the output is just "BUILD SUCCESSFUL". Ideally the output would be somewhat similar to what we see in Android Studio (especially since AS mostly displays a giant string anyway).
It'd also be really nice if the plugin could dump the location of additional test outputs so we could look at the traces with Perfetto.
Cherry on top would be for this to be somewhat pluggable / customizable, so that we can add a post processing step (e.g. validate or upload results, though this can also be done at runtime on device)