Performance lab
How close can React Native get?
How soon does the first screen appear? Does the animation feel smooth? I compare the same features in React Native, Swift and Kotlin, then model what it costs to maintain them with AI coding agents.
How long until the catalog appears?
On the iPhone simulator, the same eight items came into view in 132 ms with Expo UI, 1,379 ms with NitroUI and 1,436 ms with SwiftUI. These are median times for the visible transition, starting when the app already covers most of the Home Screen.
Android 16 · measurement pending
The Android run compares the same catalog in Kotlin with Jetpack Compose, Expo UI and NitroUI on one Android 16 emulator. Its median and range will come from six recorded launches per app.
Read chart values
- Swift · SwiftUIMedian · 1,436 ms6 runs · range 1,420–1,463 ms
- React Native · Expo UIMedian · 132 ms6 runs · range 0–135 ms
- NitroUIMedian · 1,379 ms6 runs · range 1,355–1,448 ms
How the launch was timed
Agent Device checked the same two selections in each release build, then recorded six cold launches per app. I timed the transition until the catalog reached its final appearance. This includes part of the system animation. A zero means both markers landed in the same video frame.
iPhone 17 · iOS 27.2 · Apple M5 Pro · agent-device 0.21.46
Recordings
Watch the transition from the Home Screen to the eight-item catalog.
Earlier iOS diagnostic: display callbacks and state acknowledgements
I built three release apps with the same eight items and selection sequence: React Native with Expo UI, standalone SwiftUI, and Margelo’s NitroUI renderer. A shared native probe records display-link callbacks and selection acknowledgements.

Read chart values
- React Native · Expo UIp95 · 16.67 ms
- SwiftUIp95 · 16.67 ms
- NitroUIp95 · 16.67 ms
Read chart values
- React Native · Expo UIp95 · 1.04 ms
- SwiftUIp95 · 2.74 ms
- NitroUIp95 · 1.47 ms
I ran each app four times, changing the order between runs. Each app contributed 1,536 display-link intervals at a target of 60 Hz and 192 selection acknowledgements.
Callback cadence tells us whether the simulator delivered callbacks on schedule. Acknowledgement measures how long the app took to report its new selection. React and SwiftUI report at different lifecycle points. Measuring when the user sees the change requires a physical display.
Test environment · iPhone 18 Pro · iOS 27.2 · Simulator · Xcode 27.2.
Can the animation keep up with a 120 Hz screen?
Watch the 64 cards move in four orbits. On a 120 Hz screen, a new frame is due every 8.33 ms. If drawing the next position takes longer, a card can appear to pause before it moves again.
Android 16 · measurement pending
The Android animation pairs Reanimated with Kotlin and Android Views on the same 64-card scene. Measuring the 120 Hz target also requires a physical high-refresh display.
Recorded on iPhone 17 Simulator · iOS 27.2
In the simulator recordings, the median gap between visible frames was 16.67 ms with Reanimated and 16.67 ms with Swift. To tell whether either app delivers a fresh frame every 8.33 ms, we still need to measure frames on physical displays.
- Median
- p95
Read chart values
- React Native · Reanimated 4Median · 16.67 msp95 · 18.33 ms4 runs · 1,437 intervals
- Swift · UIKit / Core AnimationMedian · 16.67 msp95 · 18.33 ms4 runs · 1,438 intervals
Recordings
Watch the cards rotate, change scale and fade as they move around four orbits.
How much code does the team maintain for this animation?
The shared Reanimated scene takes 56 lines for both platforms. The Swift and Kotlin scenes together take 185 lines. This measures how much scene code the team owns. Estimating work hours also takes testing and review into account.
Read chart values
- React Native · Reanimated 4Lines of code · 56
- Swift · UIKit / Core AnimationLines of code · 82
- Kotlin · Android ViewsLines of code · 103
- Both native implementationsLines of code · 185
The count covers each scene file, including its controls and drawing logic. It excludes navigation, dependencies, generated files and the measurement runner. Reanimated shares its scene across iOS and Android.
How much time goes into preparing an audio waveform?
To draw a sound wave, the app first finds the peaks and valleys in 20,000 audio samples. On this Mac, that calculation took a median of 0.247167 ms in JavaScript and 0.000542 ms in direct C++. Displaying the result is a separate step.
Apple M5 Pro · macOS 27.2.1 (26B8132) · Hermes 260318099.0.5. Each path produced the same 200 pairs of peaks and valleys. After 120 warm-ups, I timed 600 calls. Half finished within the time marked p50, and 95 out of 100 finished within p95.
- p50
- p95
Read chart values
- JavaScript on Hermesp50 · 0.247167 msp95 · 0.28875 ms
- Direct C++p50 · 0.000542 msp95 · 0.000666 ms
- Hermes → JSI → C++p50 · 0.000625 msp95 · 0.000834 ms
- Hermes → Nitro Modules → C++p50 · 0.000833 msp95 · 0.002 ms
- p50
- p95
Read chart values
- Direct C++p50 · 0.000542 msp95 · 0.000666 ms
- Hermes → JSI → C++p50 · 0.000625 msp95 · 0.000834 ms
- Hermes → Nitro Modules → C++p50 · 0.000833 msp95 · 0.002 ms
Both native bindings reused buffers. A single call through Nitro or plain JSI kept the median under 0.001 ms on this Mac. At p95, the Nitro call took longer than direct C++. These timings cover one batch with no copies inside the measured loop.
Cost of owning two mobile apps
Suppose the team changes a feature next month. Who updates each app, how many hours go into checking both versions, and how much do the coding agents cost? The calculator lets you price that same change with either stack.
- Shopify says coding agents reduced the work of implementing features in Swift and Kotlin and keeping them in sync. The team credits shared specs, tests and review checkpoints. It also describes the prior work of tuning React Native performance and keeping framework and dependencies current. Shopify Engineering
- Wealthsimple engineer Ash Furrow says coding agents changed the economics of shipping and maintaining two codebases. He also describes a change in product priorities and the need to deliver a native experience across devices. Ash Furrow
A shared React Native feature can still need platform-specific code. With Swift and Kotlin, the same spec feeds two implementations. Both paths include iOS and Android QA, human review and releases.
Monthly ownership and token estimate
Start with your team’s monthly hours for implementation, review, testing and releases. Tokens are the units an AI provider charges for reading input and generating output, including retries. Replace the example rates and usage with your own. Neither post publishes these figures.
Model rates use USD per million uncached input or output tokens, checked on December 1, 2026. Select a model to apply its rates to both stacks. Hours and token volumes are editable assumptions. Artificial Analysis
Monthly cost is engineering hours × hourly rate plus millions of input and output tokens × their respective rates. Track one-time rewrite and rollout costs separately. If your provider discounts cached tokens, use your effective input rate.
Where the tools fit
Expo UI
Render SwiftUI or Compose controls from React. For a screen benchmark, keep the controls, data and update schedule identical on both sides.
Nitro UI
Margelo’s standalone React renderer uses UIKit and Android views. It needs a separate app build. The Nitro Modules bar in the compute test measures a native function call.
Expo Modules API 2.0
I used the 2.0 Swift macros to expose the iOS measurement probe to React Native. It schedules the selection sequence and receives acknowledgements from React.
Nitro Modules
Expose typed native objects through JSI. To isolate the cost of the binding, keep the native function and its inputs identical across implementations.
Hermes
The JavaScript engine runs the first version of the computation and calls the native implementation in the second. The same output check applies to both.