TOPIC 37/4324 MINNOT STARTED

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.

  1. Write the scope
  2. Pick supported device cohorts
  3. Time repeated starts
  4. Check memory and battery
  5. Throttle the network
From user complaint to numbers

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Turning the key on a cold morningA cold start of the app
The fuel gauge on a long tripBattery drain over a stated time
The loaded bootMemory held by the app
The worst road in the rainA throttled, lossy network
The oldest car in the familyA 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.

What each part of the trick stands for
In the trickWhat it stands for
Turning the key on a cold morningA cold start of the app
Fuel gauge on a long tripBattery drain over a stated time
Loaded bootMemory held by the app
Worst road in the rainA slow network
Oldest car in the familyThe 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
  1. 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)

    Official documentation. Per the search excerpt, it defines cold, warm and hot start and says to improve the cold start first. Published bad-behaviour lines for start-up time differ between Google pages, so no figure is taught. · Checked 2026-10-18

    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.

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

    Official documentation. Per the search excerpt, 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. · Checked 2026-10-18

    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.

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

    Apple conference session. Per the search excerpt, it introduces an App Launch tool in Instruments, makes one throwaway launch to cancel cold-launch variance, repeats launches, and says to profile a release-mode build. Video not watched. · Checked 2026-10-18

    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.

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

    Official documentation. Per the search excerpt, the tool turns battery statistics from a device into a chart of when parts were active, and a table of estimated power use and wake locks for each app. · Checked 2026-10-18

    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.

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

    Official documentation. Per the search excerpt, a wake lock keeps the device awake, and Google flags an app that holds them for long stretches. The exact lines are not taught because they may change. · Checked 2026-10-18

    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.

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

    Apple conference session. Per the search excerpt, it 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, so teachers should check current menus. Video not watched. · Checked 2026-10-18

    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.

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

    Official documentation. Per the search excerpt, a heap dump is most useful after a long user session, and rotating the device repeatedly is a way to provoke leaks during testing. · Checked 2026-10-18

    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.

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

    Official documentation. Per the search excerpt, the system ends apps to reclaim memory under pressure, writes a report, and an app ended while visible looks like a crash. · Checked 2026-10-18

    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.

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

    Official guidance. Per the search excerpt, it asks apps to run well on entry-level phones with little memory and to check smaller screens. Its numeric limits are not taught because they may change. · Checked 2026-10-18

    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.

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

    Blog post. Per the search summary, it suggests installing the app on the lowest-end device your audience might own and noting every wait or stutter. Practitioner advice. · Checked 2026-10-18

    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.

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

    Practitioner blog. Per the search excerpt, Apple's Network Link Conditioner offers profiles that set bandwidth, packet loss and delay. Menu paths vary by system version. · Checked 2026-10-18

    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.

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

    Per the search excerpt, the emulator can set a fake location, replay a route file, set battery level and charging state, and slow the cellular speed. · Checked 2026-11-08

    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.

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

    Per the search excerpt, the simulator is useful but should not be the only test; performance, memory and network results are not accurate there. The guide is archived and may be old. · Checked 2026-10-18

    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.

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

    Vendor guide. Per the search excerpt, it lists start-up, memory, battery and network as the usual areas, and separates cold, warm and hot start. Practitioner guidance. · Checked 2026-10-18

    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.

  15. Market practice

    Mobile App Performance Testing: A Complete Guide (Shakuro) ↗ — Shakuro · Compares performance testing to test-driving a car (search excerpt, page not opened)

    Vendor blog. Per the search excerpt, it compares performance testing to test-driving a car. Used for the teaching picture only. · Checked 2026-10-18

    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.

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

    Official documentation. Per the search excerpt, it defines cold, warm and hot start and says to improve the cold start first. Published bad-behaviour lines for start-up time differ between Google pages, so no figure is taught. · Checked 2026-10-18

    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.

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

    Official documentation. Per the search excerpt, it defines cold, warm and hot start and says to improve the cold start first. Published bad-behaviour lines for start-up time differ between Google pages, so no figure is taught. · Checked 2026-10-18

    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.