Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 3ec345a7d5cc5180c1feadba6f07cc0612ecdaed
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Tue Nov 29 15:14:36 2022
Add the ability to specify an output file name prefix when generating the HRF using BaselineProfileRule.
Test: Existing tests pass.
Fixes: b/260318655
Relnote: Add the ability to specify an output file name prefix when generating the HRF using BaselineProfileRule.
Change-Id: I7b59f0017e8556dbeb40433e96a17089bf09b2fc
M benchmark/benchmark-macro-junit4/api/current.txt
M benchmark/benchmark-macro-junit4/api/public_plus_experimental_current.txt
M benchmark/benchmark-macro-junit4/api/restricted_current.txt
M benchmark/benchmark-macro-junit4/src/main/java/androidx/benchmark/macro/junit4/BaselineProfileRule.kt
https://android-review.googlesource.com/2318843
Branch: androidx-main
commit 3ec345a7d5cc5180c1feadba6f07cc0612ecdaed
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Tue Nov 29 15:14:36 2022
Add the ability to specify an output file name prefix when generating the HRF using BaselineProfileRule.
Test: Existing tests pass.
Fixes:
Relnote: Add the ability to specify an output file name prefix when generating the HRF using BaselineProfileRule.
Change-Id: I7b59f0017e8556dbeb40433e96a17089bf09b2fc
M benchmark/benchmark-macro-junit4/api/current.txt
M benchmark/benchmark-macro-junit4/api/public_plus_experimental_current.txt
M benchmark/benchmark-macro-junit4/api/restricted_current.txt
M benchmark/benchmark-macro-junit4/src/main/java/androidx/benchmark/macro/junit4/BaselineProfileRule.kt
ju...@google.com <ju...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha08
Description
Let's say I have multiple generators, each responsible for one library and I have one sample app for all libraries (e.g. accompanist).
When I run all the generators, I'll get multiple HRF profiles, which I can later copy to proper places.
Could we have an optional argument to name to output HRF file instead of class_testname?
This way I could name it in a way, the pipeline later will know what the filenames would look like and I don't have to carefuly name the class and method to match it.