AndroidX Benchmark 1.6.0-alpha01

1.6.0-alpha01
Added 1
  • MemoryProfilingConfig is added to ExperimentalConfig to allow macrobenchmark runs to opt into Perfetto heap profiling
Changed 3
  • The benchmark :lockClocks task now uses fixed performance mode when available, instead of the previous root-only implementation, allowing clocks to be locked on many more physical devices behavior changed · inferred, marked in the notes below
  • Profiler trace links are now reported under a separate 'Profiling Traces' section in IDE summaries
  • CollectBaselineProfileTask in the Baseline Profile Gradle Plugin now supports finding test-result.pb files in subdirectories, enabling compatibility with the new built-in test platform
Fixed 4
  • Method trace capture in microbenchmark is no longer sometimes overcautiously skipped to avoid ANRs
  • Baseline profile capture now works for processes not using a :<suffix> naming pattern
  • Virtual file flushing no longer results in the error 'Unable to flush profiles for <packagename>'
  • Synchronization is fixed in method traces embedded in system trace

1 change to check, marked in the notes below

From AndroidX Benchmark

The benchmark :lockClocks task now uses fixed performance mode when available, over the previous root-only implementation. This means you can lock clocks on many more physical devices for stable results, especially for useful for stable microbenchmarks. Please report issues with thermal throttling with the new behavior if you see it. ( I0d032) Added MemoryProfilingConfig to ExperimentalConfig to allow macrobenchmark runs to opt into Perfetto heap profiling. ( Ibc931) Fixed a bug in microbenchmark where method trace capture was sometimes overcautiously skipped to avoid ANRs. ( Ifc307) Fix Baseline profile capture for processes not using a : naming pattern. ( I512ab) Profiler trace links are now reported under a separate 'Profiling Traces' section in IDE summaries. ( Id639f) Fix a bug in virtual file flushing which would result in Unable to flush profiles for . ( I48ccc) Fix synchronization in method traces embedded in system trace. Ifd2e33 b/537688349 Baseline Profile Gradle Plugin - Improved CollectBaselineProfileTask to support finding test-result.pb files in subdirectories, enabling compatibility with the new built-in test platform. Id9c488 b/543799367 behavior changed · inferred

View original

Upgraded? How did it go?

Discussion