---
title: "Our Solution for Measuring React Native Rendering Times"
description: "Shopify's open-source @shopify/react-native-performance library measures Time To Interactive in React Native apps across three scenarios: app startup, navigation between screens, and screen re-renders."
url: "https://swe.quest/articles/our-solution-for-measuring-react-native-rendering-times-135893900ace12dd"
canonical: "https://shopify.engineering/measuring-react-native-rendering-times"
source: "Shopify Engineering"
published: "2022-11-24"
difficulty: "medium"
kind: "How-to"
reading_minutes: 11
tags: ["react","mobile","performance","observability"]
---

# Our Solution for Measuring React Native Rendering Times

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2022-11-24, 11 min read, How-to. Original: [https://shopify.engineering/measuring-react-native-rendering-times](https://shopify.engineering/measuring-react-native-rendering-times)

## Summary

Shopify's open-source @shopify/react-native-performance library measures Time To Interactive in React Native apps across three scenarios: app startup, navigation between screens, and screen re-renders. It defines "rendered" by injecting an invisible marker view whose native counterpart reports when it reaches the window, so measurements include bridge communication. A state machine tracks render passes (interactive or not) and emits RenderPassReports, including a frustration signal when users leave before a screen becomes interactive. Integration requires hooks in Android, iOS and TypeScript, plus optional react-navigation wrappers. Reports can be forwarded to analytics tools such as Amplitude to track p99 TTI per screen and Apdex scores.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [React](https://swe.quest/tags/react.md) (Web & mobile)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)

## Prerequisites

- React Native basics ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- React hooks ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- mobile app lifecycle ([easy posts on Mobile](https://swe.quest/tags/mobile.md?difficulty=easy))

## Keywords

React Native, @shopify/react-native-performance, react-navigation, Time To Interactive, Apdex, Amplitude, FlashList, Flipper

## Related posts

- [More ways to debug Expo apps with the React Native SDK](https://swe.quest/articles/more-ways-to-debug-expo-apps-with-the-react-native-sdk-2e4faf16fb4fe081.md): Sentry · 2026-11-24 · Medium · 5 min read · Mobile, React, Observability, Debugging
  Sentry's React Native SDK now ships a first-class, auto-registering Expo Router integration that traces screen focus and imperative router calls (via wrapExpoRouter), correlates deep links with the navigation they trigger, and captures errors from per-route ErrorBoundaries, which a Babel plugin can wrap automatically at build time.
- [Improving Shopify App’s Performance](https://swe.quest/articles/improving-shopify-app-s-performance-3211dcd650ae34c6.md): Shopify Engineering · 2024-03-05 · Medium · 8 min read · Mobile, React, Performance engineering, Caching
  Shopify cut its React Native mobile app's P75 launch time by 44% and screen load times by 59% over 2023, against targets of 2s launch and 500ms critical-screen loads.
- [Five years of React Native at Shopify](https://swe.quest/articles/five-years-of-react-native-at-shopify-84f013b1c431ce8f.md): Shopify Engineering · 2025-01-13 · Easy · 9 min read · React, Mobile, Developer productivity, Engineering management
  After five years, Shopify has migrated all its mobile apps to React Native, with each team choosing its own migration timing, and reports sub-500ms P75 screen loads, over 99.9% crash-free sessions, and an end to iOS/Android feature-parity work.
- [Accelerating Mobile App development at Zalando with Rendering Engine and React Native](https://swe.quest/articles/accelerating-mobile-app-development-at-zalando-with-rendering-engine-and-react-ab66b7bbd44743eb.md): Zalando Engineering · 2025-10-02 · Medium · 11 min read · React, Mobile, Design systems, Refactoring & migrations, Frontend
  Zalando is incrementally migrating its separate iOS and Android apps to React Native by reusing Rendering Engine, its React-based web framework whose "renderers" bundle data fetching, caching, observability and tracking into components.
- [Migrating our Largest Mobile App to React Native](https://swe.quest/articles/migrating-our-largest-mobile-app-to-react-native-da3490e74f9ce01b.md): Shopify Engineering · 2022-12-27 · Medium · 12 min read · Mobile, React, Refactoring & migrations
  Shopify is moving its largest native app, Shopify Mobile (300 screens per platform), to React Native through "Iterative Porting" rather than a rewrite.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
