Mobile performance testing: battery, memory, start-up time and slow networks
Measure how fast a phone app opens, how much memory and battery it uses, and how it copes with a slow network, on the slowest phone your users really own.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a test drive in bad weather. A careful car buyer does more than sit in the seat. She turns the key on a cold morning and times how long the car takes to be ready. She watches the fuel gauge on a long trip. She loads the boot and sees whether the car still pulls. She drives the worst road she knows, in the rain.
Daily List is a to-do list app. Lily, a user, has an old phone. She says the app takes ages to open, the phone gets warm, and sometimes the app closes by itself on the train. Tom, the tester, wants to turn her words into numbers.
Mei, the test lead, writes the scope first. Tom may use the Daily List test build, his own test phones, a made-up test account and . He does not touch the live app or anyone else's phone.
Each part of the drive has a phone version. The cold key is the time to open the app. The fuel gauge is the battery. The loaded boot is the memory. The bad road is a slow network. And the buyer picks the oldest, weakest car in the family, as Tom picks Lily's kind of phone.
The picture has a limit. A car does one trip at a time. A phone runs many apps at once, and any of them can change the result.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Measuring how fast a phone app opens, and how much memory, battery and network trouble it meets, on supported devices chosen from user needs and risk.
- Write the scope
- Pick supported device cohorts
- Time repeated starts
- Check memory and battery
- Throttle the network
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Turning the key on a cold morning | A cold start of the app |
| The fuel gauge on a long trip | Battery drain over a stated time |
| The loaded boot | Memory held by the app |
| The worst road in the rain | A throttled, lossy network |
| The oldest car in the family | A slower supported phone in the selected user cohort |
WHERE THIS PICTURE STOPS
- A car does one trip at a time. A phone runs many apps at once.
- A fuel gauge is fairly exact. A battery gauge is coarse and noisy.
- A buyer drives once. A tester repeats each run and reports the middle result.
HOOK
Cold key, fuel gauge, loaded boot, worst road, oldest car.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Test five things in turn: , battery, memory, a bad network, and the oldest phone.
| In the trick | What it stands for |
|---|---|
| Turning the key on a cold morning | A cold start of the app |
| Fuel gauge on a long trip | Battery drain over a stated time |
| Loaded boot | Memory held by the app |
| Worst road in the rain | A slow network |
| Oldest car in the family | The slowest phone users really own |
TELL A FRIEND
Measure comparable startup states on supported devices and report the observed spread. Investigate growing memory, compare battery use against a controlled baseline and behaviour without assuming a cause from one symptom.
OFTEN MIXED UP WITH Interruptions, networks and permissions on mobile. That lesson tests how the app reacts to calls, flight mode and refused permissions. This lesson measures speed, memory, battery and network behaviour with numbers.
PRACTISE AND KEEP
Sources for this topic — 17 sources
- Market practice
App startup time (Android Developers, App quality) ↗ — Google · Defines cold, warm and hot start, and says to improve the cold start first; Google pages differ on the bad-behaviour lines, so none are taught (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Capture Macrobenchmark metrics (Android Developers, App quality) ↗ — Google · The start-up metric reports time to initial display, repeats runs, reports minimum, median and maximum, and advises comparing on the same device in the same state (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Optimizing App Launch (WWDC19, Apple Developer) ↗ — Apple · Introduces an App Launch tool in Instruments, makes one throwaway launch, repeats launches and says to profile a release-mode build (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Analyze power use with Battery Historian (Android Developers, App quality) ↗ — Google · Turns battery statistics from a device into a chart of when parts were active, and a table of estimated power use and wake locks per app (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Excessive partial wake locks (Android Developers, App quality) ↗ — Google · A wake lock keeps the device awake, and Google flags apps that hold them for long stretches (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Profile and optimize power usage in your app (WWDC25, Apple Developer) ↗ — Apple · Describes recording a power trace on a device and opening it in Instruments to see power use per app; older energy tools were reported gone in forum posts (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Capture a heap dump (Android Studio, Android Developers) ↗ — Google · A heap dump is most useful after a long user session, and rotating the device repeatedly is a way to provoke leaks during testing (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Identifying high-memory use with jetsam event reports (Apple Developer Documentation) ↗ — Apple · Under memory pressure the system ends apps to reclaim memory, and an app ended while visible looks like a crash (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Device capability for billions (Build for Billions, Android Developers) ↗ — Google · Asks apps to run well on entry-level phones with little memory and to check smaller screens; numeric limits are not taught (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
You, your app, and Android performance (Google Developers, Medium) ↗ — Google Developers · Suggests installing the app on the lowest-end device the audience might own and noting every wait or stutter. Practitioner advice (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Testing network reliability in mobile apps using Network Link Conditioner (Counting Up engineering blog) ↗ — Counting Up · Apple's Network Link Conditioner offers profiles that set bandwidth, packet loss and delay; menu paths vary by system version (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Extended controls, settings, and help (Android Emulator, Android Developers) ↗ — Google · The Android Emulator can set a network speed and delay and a battery level (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Verification supplement, 8 November 2026: Extended controls: Location single points/routes, GPX/KML import and Fingerprint controls with platform limits. Relevant sections read 8 November 2026; not a live device test.
- Market practice
Testing and debugging in Simulator (iOS Simulator User Guide, Apple Developer archive) ↗ — Apple (Developer documentation archive) · The simulator shares the Mac's processor, memory and network, so it does not replace testing on a device (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
How to measure mobile app performance (Kobiton) ↗ — Kobiton · Lists start-up, memory, battery and network as the usual areas and separates cold, warm and hot start (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Mobile App Performance Testing: A Complete Guide (Shakuro) ↗ — Shakuro · Compares performance testing to test-driving a car (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
App startup time (Android Developers, App quality) ↗ — Google · Opened primary source, 6 November 2026. Android Developers launch-time and power guidance, current: Opened cold/warm/hot startup, TTID/TTFD and Battery Historian notice: no longer actively maintained; system trace, Macrobenchmark power and Power Profiler alternatives.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Implementation-specific
App startup time (Android Developers, App quality) ↗ — Google · AndroidDevelopers Appstartup page cold/warm/hot bodies andTTID/TTFD passages read7November2026. Warm examples includeactivityrecreation withcontinuingprocess or process/activityrestartusing savedstate; hotstart mayrecreate trimmedobjects. Coldoptimisation canhelp, notguarantee gains forotherstates.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.