How to Build an Android Memory Regression Gate at inDrive: CI Setup and Calibration

In the first article, I explained how I investigated measurement noise and turned a memory report into a blocking PR check. This companion guide covers our current setup: Macrobenchmark, the build and scenarios, CI emulators, baseline comparisons, verdict rules, cloud-hosted phones, and calibration. References to Parts 1–6 below point to the investigation in the first article. System components Test: Macrobenchmark with a custom memory sampler running inside it. Build: a dedicated release-based build type that can access the test server. Scenarios: ten user journeys through the most memory-heavy screens. CI emulators: one Android 14 image; a fresh emulator for every scenario. Schedule
…