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

https://hackernoon.imgix.net/images/6WbO18ySKKbatYbleCAgy9Tmyol2-rac3bli.png

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: diff-selected scenarios on PRs; the full suite on main twice each night.
  • Verdict: warn when growth exceeds max(3σ, 8 MB) relative to the main baseline; block 4 MB above that, never below 12 MB.
  • Cloud phones: two BrowserStack models, run twice a day on main and in...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more

https://static01.nyt.com/images/2026/11/23/multimedia/23dc-trump-nvidia-TOP-tbvl/23dc-trump-nvidia-TOP-tbvl-facebookJumbo.jpg

President Trump dismissed US intelligence findings to reinstate Jensen Huang, saying on CNBC he needed to stop market losses; Trump held $12M+ of NVDA in 2025

More: The Verge, Wall Street Journal, The Guardian, Foreign Policy, CNBC, Wired, MarketWatch, Aftermath, New York Times, TBPN, Wccftech, American Prospect, Politico, Fortune, Associated Press, NPR, The Independent, Bloomberg Law, Ars Technica, Business Insider, The Fine Print*, The Verge, Fast Company, NBC News, Snopes, Capital Brief, Pound Sterling Live, BBC,