Skip to content
Keshav Raj
A phone launching awake like a rocket with a snapping stopwatch and a fast ribbon of cards.
PERFORMANCE DOCKS8 S → 1 S
SHIPPED A white-label app that started slowly and stuttered on low-end Android.I OWNED Lead implementerOUTCOME 8 s → 1 s cold start
  1. HERMES
  2. BUILD-TIME THEME
  3. MMKV + RENDER GATE
  4. FLASHLIST

React Native cold start

Keshav RajLead implementer · 2021–22 · ShippedContact meResume PDF
30 → 50+ fpslist scrolling
~97screens render-gated

Context

This was the 2021 to 2022 performance pass on an ed-tech company's React Native learner app. I was the lead implementer, working alongside teammates.

The problem

The app started slowly and lists janked on low-end Android phones.

What I did

  1. I turned on Hermes in 2021 and moved the design-system theme mapping to build time, so a large theme JSON was not processed on every launch.

  2. I swapped the storage layer from AsyncStorage to MMKV.

  3. I added render gating on about 97 screens, so a screen shows only what it needs first.

  4. I ported the lists to FlashList.

Key decision

The rule I used was to move work from app start to build time. Precomputing the theme mapping cost a build step, but removed work from every launch.

Result

Cold start went from 8 seconds to 1 second, and list scrolling from 30 to over 50 frames a second, on low-end Android.

What I learned

If I did it again, I would store the measurements next to the change.

Stack

  • React Native
  • Hermes
  • MMKV
  • FlashList
  • Babel
Play the world →