performance-samples
performance-samples copied to clipboard
Samples to show APIs and best practices in Performance on Android
1. In the case of creating `app-release.aab` from the existing location of the sample baselineProfiles in `release/generated/baselineProfiles` `baseline.prof` size is 5.9k  2. In the case of creating `app-release.aab` after...
[GitHub Actions](https://github.com/android/performance-samples/actions) tests are failing for the macrobenchmark sample. It looks like the build needs to be adjusted to exclude running benchmark tests. Take the [NiA PR 880](https://github.com/android/nowinandroid/pull/880) for inspiration.
``` java.lang.IllegalStateException: Failed to compile (out=Error: Failed to cpmpile ! ) at androidx.benchmark.macro.CompilationMode$Companion.cmdPackageCompile$benchmark_macro_release(CompilationMode.kt:434) at androidx.benchmark.macro.CompilationMode$Partial.compileImpl$benchmark_macro_release(CompilationMode.kt:307) at androidx.benchmark.macro.CompilationMode.resetAndCompile$benchmark_macro_release(CompilationMode.kt:114) at androidx.benchmark.macro.CompilationMode.resetAndCompile$benchmark_macro_release$default(CompilationMode.kt:75) at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmark(Macrobenchmark.kt:237) at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmarkWithStartupMode(Macrobenchmark.kt:436) at androidx.benchmark.macro.junit4.MacrobenchmarkRule.measureRepeated(MacrobenchmarkRule.kt:107) at com.meesho.baselineprofile.StartupBenchmarks.benchmark(StartupBenchmarks.kt:52) at com.meesho.baselineprofile.StartupBenchmarks.startupCompilationBaselineProfiles() ```...
Hello Dear developers, this is not a bug. Here's a feature request: I hope the Android team can automate the implementation of benchmark files without having to write benchmark code....
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.8.17 to 1.8.22. Release notes Sourced from @grpc/grpc-js's releases. @grpc/grpc-js 1.8.22 Avoid buffering significantly more than grpc.max_receive_message_size per received message. @grpc/grpc-js@1.8.21 Fix propagation of UNIMPLEMENTED error messages...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/android/performance-samples). This repository currently has no open or...
The example JankStatsAggregator class can produce `ConcurrentModificationException` for listeners that perform some additional operations on it. Presumably because of how FrameData objects are internally mutated. It appears that JankStatsAggregator.issueJankReport attempts...
File I/O for macrobenchmark is tricky because of scoped storage. I'd suggest a good sample showing I/O patterns. For providing input data, I ended up using FileProvider but it was...