Status Update
Comments
ra...@google.com <ra...@google.com> #2
This is expected for now. We are now turning on method traces where we did not do so previously. Given method tracing is turned-on in CI automatically, this will start affecting all Macrobenchmarks.
What we need to do, is to introduce a separate profiling phase for method tracing to avoid regressions in metrics.
cc...@google.com <cc...@google.com> #3
This is expected for now. We are now turning on method traces where we did not do so previously. Given method tracing is turned-on in CI automatically, this will start affecting all Macrobenchmarks.
It should not be, even without your follow up CL - we turn on method tracing by default in micro, but macro attempts to avoid that -
ap...@google.com <ap...@google.com> #4
Branch: androidx-main
commit 95c0ded0f9d7b0853d72a732e57d86032ae5f568
Author: Chris Craik <ccraik@google.com>
Date: Fri Apr 26 10:49:10 2024
Fix method tracing to be off by default in macrobench
Fixes: 336588271
Test: SmallListStartupBenchmark (no tracing)
Change-Id: I9896030622be844e631c8aff69ba55c01f0661d7
M benchmark/benchmark-macro/src/androidTest/java/androidx/benchmark/macro/MacrobenchmarkTest.kt
M benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/Macrobenchmark.kt
ap...@google.com <ap...@google.com> #5
Branch: androidx-main
commit 2d1785e9837b97c6d64878413efb96d873895cd0
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Wed Apr 24 16:57:02 2024
Move method tracing to a separate phase.
* Method tracing now runs as a separate phase, without interfering with metrics.
Fixes: 285912360
Fixes: 336588271
Test: Existing unit tests.
Change-Id: If9a504a7bce7228840339b34294ba3fdf98aceeb
Relnote: Method tracing runs as a seperate phase during a Macrobenchmark, and it no longer affects measurements.
M benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/Macrobenchmark.kt
A benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/MacrobenchmarkPhase.kt
pr...@google.com <pr...@google.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.benchmark:benchmark-macro:1.3.0-alpha05
Description
Perf Regression (High) found, matching 214 tracked metrics from benchmarks.
To triage this regression, see the guide at go/androidx-bench-triage .
Tests affected:
Devices affected:
API Level: