DEV Community

Mosmox Studio
Mosmox Studio

Posted on Originally published at mosmox.com on

Zomato’s Experience: How App Speed Improved Customer Retention

Zomato’s Experience: How App Speed Improved Customer Retention

Mobile app speed is not only a technical metric. For a food-ordering service, it directly affects whether users see the menu, complete an order, and return the next day. The case of the Indian service Zomato is one of the best-documented examples of engineering optimization turning into a business result.

We will look at what the team did according to the public case study on Android Developers, what numbers stand behind the result, and how to repeat the approach in your own product without rewriting the app from scratch.

Context: why Zomato focused on speed

When the case was published, Zomato operated in more than 500 cities in India, had over 43 million active customers, and averaged more than 1.5 million orders a day. Rapid feature development had brought many SDKs that consumed resources even when they were not needed.

An additional factor was expansion into tier-2 and tier-3 cities, where people mostly use affordable devices with limited processing power. The team wanted the experience on those phones to match flagships. Priorities were chosen with a simple rubric: which solution gives the best return relative to developer effort. The optimization took about four months.

What the Zomato team did

The Android Developers case study describes a sequence of steps. First, the team used Perfetto to capture system traces of startup and see which SDKs initialized at launch and which could be removed or loaded lazily.

Action Before, s After, s Improvement
Removed legacy SDKs and unused third-party libraries 4.873 3.813 21.74%
Lazy-loaded libraries (App Startup) 3.814 3.577 6.2%
Layout improvements, ViewStub 2.529 2.348 7.15%

A few details worth remembering:

  • Removing what was unused was the simplest and most profitable step: low effort, biggest gain.
  • The Facebook SDK was used for only one of the sign-in options but initialized on every launch. With the App Startup library, it was loaded only when the user chose Facebook sign-in.
  • ViewStub made it possible not to create UI elements until needed. Unlike View.GONE, such an element is not inflated and does not take memory. Together with a flatter hierarchy and merged layouts on the login screen, this cut inflation time by 7%.
  • Android Profiler helped find locking issues and memory overhead, and improvements to caching reduced out-of-memory errors by 60%.

Results: from milliseconds to orders

According to Firebase Performance’s cold startup metric, average time improved by about 25%, and by up to 30% on low- and mid-range devices.

The most important result was business-related. Zomato tracked an internal “app icon tap to fully loaded home page” metric. The number of users landing on a fully loaded page rose by about 20%, and Day 1 retention improved by about 90%. The overall “home → menu → cart → order” funnel conversion rose by about 1.5 percentage points, equivalent to around 600,000 additional orders per month.

An important caveat: these are one company’s results in a specific context — a huge market, many affordable devices, and a scenario where the user is hungry and impatient. Do not transfer the percentages to another product, but do transfer the mechanics.

How to repeat the approach, step by step

Performance work does not need to begin with a full rewrite. Here is the sequence we use in our projects:

  1. Define a business speed metric. Not just “startup time,” but time from tapping the icon to the first useful screen, as Zomato did.
  2. Measure a baseline on real devices. Include at least one affordable device your audience uses, not only the team’s phones. Record p50 and p90.
  3. Capture a startup trace (Perfetto, Android Studio Profiler, Instruments in Xcode) and split time into app initialization, SDKs, network requests, UI construction, and data.
  4. Start by removing. Build an SDK register: owner, purpose, when it initializes. Delete what is not used.
  5. Defer secondary work. Analytics, ads, support chat, and social sign-ins are rarely needed in the first second.
  6. Optimize the first screen: less nesting, deferred creation of hidden elements, cached recent data instead of waiting for the network.
  7. Lock in the result in CI: automated benchmarks (for example Macrobenchmark on Android) and a startup time budget that blocks a release when exceeded.
  8. Connect technical metrics to conversion and retention through before-and-after cohort analysis.

Startup time reference points

In its app startup time documentation, Google treats a cold start of 5 seconds or more, a warm start of 2 seconds or more, and a hot start of 1.5 seconds or more as excessive. That is the line where Android vitals flags a problem, not a goal.

Start type Excessive per Android vitals Our target (studio experience)
Cold 5 s or more Under 2 s on a mid-range device, under 3 s on an affordable one
Warm 2 s or more Under 1 s
Hot 1.5 s or more Under 0.5 s

Our earlier article on 4.7 billion mobile internet users explains why affordable devices are not an edge case but a large share of the audience, and the piece on 5G and mobile apps explains why a fast network does not rescue a slow client.

Common mistakes in speed optimization

  • Measuring on a developer’s flagship and concluding there is no problem.
  • Optimizing by feel, without a trace or baseline.
  • Starting with a rewrite in a new technology before removing unnecessary SDKs.
  • Initializing every SDK in Application.onCreate “just in case.”
  • Showing an empty screen with a spinner instead of cached data.
  • Having no regression control: six months later, new features undo everything.
  • Reporting milliseconds instead of impact on conversion and retention.

Team checklist

  1. A business metric “to first useful screen” is defined.
  2. There is a p50 and p90 baseline on affordable and mid-range devices.
  3. A startup trace is captured and time is split by component.
  4. An SDK register with owners exists; unused SDKs are removed.
  5. Secondary libraries initialize lazily.
  6. The first screen shows cached data while the network refreshes.
  7. Startup benchmarks run in CI with a time budget.
  8. The effect is checked in cohorts by conversion and D1 retention.

The Zomato case matters because it connects engineering work to user behavior. Speed has value not by itself, but because it removes friction on the way to an outcome.

Sources: Android Developers: Increasing app speed by 30% at Zomato; Android Developers: App startup time; Android Developers: App Startup library; Perfetto.


Originally published on the Mosmox journal: Zomato’s Experience: How App Speed Improved Customer Retention

Top comments (0)