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...