pyxpo vs Expo vs native
One small app built three times: with pyxpo, with Expo (React Native), and natively with Kotlin and Jetpack Compose or Swift and SwiftUI. Same screens, same data, release builds. Updated November 2, 2026.
- pyxpo Python, native views
- Expo React Native, Hermes, New Architecture
- Native Kotlin + Compose, Swift + SwiftUI
Smaller and lighter than Expo.
Lower is better on every chart. Each number is the median of repeated runs, with apps measured in turn so they share the same conditions.
Release APK size
Memory after launch
Cold start to content
CPU time while scrolling the feed
App bundle size
Memory after launch
Android results
Android emulator sdk_gphone16k_arm64, Android 17 (API 37, arm64-v8a) on an Apple Silicon Mac. Medians of 15 cold starts, 10 warm starts, 10 pushes and 3 scroll runs per app.
Startup
Cold start to content
Process start until the feed list has mounted (the app logs a marker).
Cold start to first frame
TotalTime reported by `am start -W` after a force-stop.
Return from background
App in memory, brought back from the home screen.
Memory
Memory after launch
Total PSS 3 seconds after the feed appears.
Memory after scrolling the feed
Total PSS after 30 flings through 1000 rows.
Memory after scrolling the photo grid
Total PSS after 30 flings through 300 photos.
Interaction
Open a detail screen
From an adb tap on a feed row until the detail screen logs that it has mounted. The time adb takes to send the tap is included for every app.
CPU time while scrolling the feed
User plus system CPU time of the app process during 30 flings.
CPU time while scrolling the grid
User plus system CPU time of the app process during 30 flings.
Size and code
Release APK size
Universal release APK with R8 (all four CPU types).
Lines of app code
Non-blank lines in the screens and data module, without imports.
All Android numbers with p90
| Metric | pyxpo | Expo | Native |
|---|---|---|---|
| Cold start to content | 194 msp90 317 ms | 230 msp90 266 ms | 400 msp90 484 ms |
| Cold start to first frame | 183 msp90 250 ms | 180 msp90 236 ms | 413 msp90 496 ms |
| Return from background | 363 msp90 460 ms | 487 msp90 545 ms | 482 msp90 529 ms |
| Memory after launch | 53.5 MBp90 53.5 MB | 106.6 MBp90 107.2 MB | 51.2 MBp90 55.3 MB |
| Memory after scrolling the feed | 62.9 MBp90 63.0 MB | 190.8 MBp90 192.8 MB | 58.0 MBp90 62.5 MB |
| Memory after scrolling the photo grid | 99.1 MBp90 106.4 MB | 166.6 MBp90 169.3 MB | 67.2 MBp90 69.9 MB |
| Open a detail screen | 6 msp90 7 ms | 25 msp90 27 ms | 39 msp90 49 ms |
| CPU time while scrolling the feed | 7.91 sp90 8.22 s | 9.27 sp90 9.77 s | 6.91 sp90 11.36 s |
| CPU time while scrolling the grid | 11.57 sp90 18.96 s | 11.08 sp90 11.15 s | 10.05 sp90 11.30 s |
| Release APK size | 20.1 MB | 30.8 MB | 2.9 MB |
| Lines of app code | 142 lines | 159 lines | 173 lines |
iOS results
iOS simulator iPhone 17, iOS 27.0, on an Apple Silicon Mac. Median of 10 cold launches per app, apps in turn.
Startup
Cold start to content
`simctl launch` until the feed list has mounted (the app logs a marker).
Memory
Memory after launch
Physical footprint 3 seconds after the feed appears.
Size
App bundle size
Release .app for the simulator (arm64), uncompressed.
All iOS numbers with p90
| Metric | pyxpo | Expo | Native |
|---|---|---|---|
| Cold start to content | 167 msp90 176 ms | 169 msp90 178 ms | 170 msp90 190 ms |
| Memory after launch | 128.0 MBp90 129.0 MB | 215.5 MBp90 225.0 MB | 123.0 MBp90 125.0 MB |
| App bundle size | 34.5 MB | 41.1 MB | 1.7 MB |
Where pyxpo is not first.
- Android, cold start to first frame: pyxpo 183 ms, Expo 180 ms, Native 413 ms. pyxpo and Expo draw a splash screen first, so their first frame comes early.
- Android, memory after launch: pyxpo 53.5 MB, Expo 106.6 MB, Native 51.2 MB.
- Android, memory after scrolling the feed: pyxpo 62.9 MB, Expo 190.8 MB, Native 58.0 MB.
- Android, memory after scrolling the photo grid: pyxpo 99.1 MB, Expo 166.6 MB, Native 67.2 MB. Measured in a later run (2026-11-02 05:18) after the pyxpo grid image fix; the other numbers are from the main run.
- Android, cpu time while scrolling the feed: pyxpo 7.91 s, Expo 9.27 s, Native 6.91 s.
- Android, cpu time while scrolling the grid: pyxpo 11.57 s, Expo 11.08 s, Native 10.05 s.
- Android, release apk size: pyxpo 20.1 MB, Expo 30.8 MB, Native 2.9 MB.
- iOS, memory after launch: pyxpo 128.0 MB, Expo 215.5 MB, Native 123.0 MB.
- iOS, app bundle size: pyxpo 34.5 MB, Expo 41.1 MB, Native 1.7 MB.
These are emulator and simulator numbers. Real phones are slower in absolute terms; the order between the three builds is what to read here.
The native Android app has no baseline profile. Adding one would make its cold start faster.
How it was measured.
- All three apps are release builds: R8 on Android, Release configuration on iOS. No debug flags, no dev servers.
- Each run does the apps in turn (pyxpo, Expo, native, then again), so a slow moment on the machine hits all three, not one.
- Cold start force-stops the app first. Content time runs from the process start to a log line the feed screen prints when it mounts. First-frame time is what `am start -W` reports, which starts from the intent, so the two numbers have different starting points.
- Memory is the total PSS from `dumpsys meminfo` on Android and the physical footprint on iOS.
- Scroll cost is the CPU time the app process used during 30 flings, read from /proc. Emulator frame timings were too noisy to publish, so frame-drop numbers will come from a real phone.
- Every number is the median. The table under each platform also shows p90. Each run saves its raw results as JSON.
Versions
- pyxpo
0.1.0a26 - Expo SDK
58.0.22 - React Native
0.88.1 (New Architecture, Hermes) - React
19.3.0 - Jetpack Compose BOM
2024.12.01 - Kotlin
2.0.21 - Coil
2.7.0 - Xcode
27.2
What each build contains.
Five screens that cover what most apps do: a long list, an image grid with a full-screen viewer, a form, animations and a pushed detail screen.
Feed
A list of 1,000 rows, each with a thumbnail, a title and two lines of text. Tapping a row pushes a detail screen.
Grid
300 photos in three columns. Tapping one opens a full-screen viewer you can swipe through.
Form
Text inputs, a multi-line field, a switch and a submit button that shows an alert.
Anim
A spinning square, a spring button and a ball you can drag that springs back.
Detail
A large photo and long text in a scroll view, pushed on the stack.