Mobile App Performance Optimization: Speed and User Spikes
Mobile app performance optimization: free tools to find what's slow, Core Web Vitals targets, faster loads on phones, Flutter vs React Native video, and spikes.
Article by
Alex Dow
Resources
•
10
mins to read
Mobile app performance optimization starts with measuring, not guessing. Free tools like PageSpeed Insights, Lighthouse, Android Studio Profiler, Xcode Instruments and Flutter DevTools show you exactly which request, image, script or frame is slow. Fix the biggest offender, measure again, and repeat until the app hits clear targets on a mid-range phone.
Key takeaways
- Measure on a real mid-range phone, in a release build. Debug builds and fast laptops hide the problems your users feel.
- For web apps, aim for Google's Core Web Vitals: LCP within 2.5 seconds, INP of 200 milliseconds or less, and CLS of 0.1 or less, at the 75th percentile of visits.
- Heavy web apps get faster on phones by shipping less code up front, serving modern image formats, streaming video adaptively and caching static files hard. None of that removes a feature.
- Flutter and React Native both hand video playback to the phone's native player, so the real performance difference in a video app is the feed around the video.
- Lag during a user spike almost always lives in the backend: missing indexes, N+1 queries, cold starts or connection limits.
Free tools to test mobile app loading speed
Pick the tool by what you're testing. A web app or PWA in a phone browser needs different tools from a native or cross-platform app installed from a store.
For web apps and PWAs
PageSpeed Insights. Paste a URL and PageSpeed Insights gives you two kinds of data. Lab data comes from a Lighthouse run in a controlled environment, which is good for debugging. Field data comes from real Chrome users over the previous 28 days, which tells you what people actually experience. Low-traffic pages won't have field data, and that's normal.
Lighthouse. Lighthouse is the open source engine behind those lab scores. It runs inside Chrome DevTools, works on pages behind a login, and lists specific fixes like unused JavaScript and oversized images.
Chrome DevTools Performance panel. When Lighthouse says something is slow, the Performance panel shows you why. Record a page load or a tap with CPU and network throttling on, and you'll see which script blocked the main thread and for how long.
WebPageTest. WebPageTest runs free tests from real browsers in different locations and on different devices and connection types, with video capture of the page loading. A free account unlocks the full feature set. The filmstrip view is the fastest way to show a non-technical stakeholder what "slow" looks like.
For native, Flutter and React Native apps
Android Studio Profiler. The Android Studio Profiler records CPU, memory and system traces from a running app on a device. Use it to find the method that's eating startup time or the allocation that's triggering garbage collection mid-scroll.
Xcode Instruments. Apple's performance guide points to Instruments for analyzing performance, resource usage and behavior, including responsiveness and memory. The Time Profiler and Allocations instruments cover most day-to-day questions.
Flutter DevTools. The Flutter performance view shows frame build and raster times. Flutter's docs are explicit that frame times in debug mode aren't indicative of release performance, so run the app in profile mode.
React Native tooling. The React Native profiling guide sends you to Instruments on iOS and the Android Studio Profiler on Android, with system tracing to see where each 16ms frame goes. Its performance overview warns that the JavaScript thread suffers badly in development mode and that leftover console.log calls can bottleneck a bundled app. Always profile a release build.
Firebase Performance Monitoring. Lab tools test your phone. Firebase Performance Monitoring tests everyone's. Once the SDK is in the app, it automatically measures app start time, HTTP network requests and screen rendering on real devices, for iOS, Android, Flutter and web. It's listed as a no-cost product on Firebase's pricing page (checked December 2026).
Core Web Vitals targets to hit
Speed needs a number, or every argument about it turns into opinion. For anything that runs in a browser, Google's Core Web Vitals are the standard:
| Metric | What it measures | Good |
|---|---|---|
| Largest Contentful Paint (LCP) | How fast the main content shows up | 2.5 seconds or less |
| Interaction to Next Paint (INP) | How fast the page responds to taps | 200 milliseconds or less |
| Cumulative Layout Shift (CLS) | How much the layout jumps around | 0.1 or less |
web.dev recommends measuring at the 75th percentile of page loads, split by mobile and desktop. That means three out of four mobile visits should hit all three targets, not just your own test on office Wi-Fi.
Native apps don't have an official equivalent, so set your own budget: cold start to a usable first screen, time to load your busiest list, and frame rate while scrolling it. Flutter's performance best practices name the frame budget plainly: build and display each frame in 16ms to hold 60 frames per second.
Make a heavy web app load faster on phones without losing features
Heavy web apps get slow on phones when they ship every feature's code, images and data on the first load. The fix is changing when things load, and every feature stays.
Ship less JavaScript up front
A phone parses and runs JavaScript far slower than a laptop. Split the bundle by route so the dashboard doesn't download the admin panel's code. In React, lazy defers loading a component's code until it first renders, and bundlers like Vite split those imports into separate files automatically. Then audit third-party scripts: chat widgets, analytics and tag managers can weigh more than your own code. Load them after the main content, or drop the ones nobody reads.
Serve images in modern formats and the right size
MDN's image format guide calls AVIF a good choice for its high performance, and WebP is the widely supported fallback. Format is half the win. Size is the other half: a 4000 pixel hero photo shown at 400 pixels wide on a phone wastes nearly all of its bytes. Use responsive images with srcset, lazy load anything below the fold, and give every image fixed dimensions so it doesn't push content around and hurt CLS.
Stream video adaptively
A single large MP4 forces every phone to download the same file, whether it's on 5G or one bar of LTE. Adaptive streaming encodes the video at several quality levels and lets the player switch between them. Apple's HTTP Live Streaming works with ordinary web servers and CDNs and adapts to network conditions automatically. Add a lightweight poster image and don't autoplay video that's off screen.
Cache aggressively and use a CDN
Files with a content hash in the name never change, so tell browsers to keep them. MDN's HTTP caching guide shows the pattern: Cache-Control: max-age=31536000, immutable for versioned assets, so repeat visits skip the download entirely. Serve those files from a CDN close to the user. For an app people open daily, a service worker can cache the app shell too, which is how a progressive web app loads near instantly on a return visit.
Fetch less data
Paginate lists, request only the fields a screen shows, and stop loading the full record history to render a summary card. On a slow connection, a 2MB JSON response hurts as much as a 2MB image.
Flutter vs React Native performance for video-heavy apps
This question comes up a lot, and the honest answer surprises people: video playback itself performs about the same on both, because neither framework decodes video.
Flutter's official video_player plugin uses AVPlayer on iOS and ExoPlayer on Android. On the React Native side, expo-video wraps the same native players and exposes their buffering settings, such as AVPlayerItem's forward buffer on iOS. Android's ExoPlayer and Apple's AVPlayer handle decoding, buffering and adaptive streaming in either case. So the codec work, the HLS switching and the hardware decoding are identical.
The differences show up in everything around the video:
- Feeds and lists. A TikTok-style feed lives or dies on list performance. Flutter's docs tell you to use lazy builder methods so only visible items get built. In React Native, Shopify's FlashList recycles components under the hood, and the React Native performance docs list it among the faster list options.
- Rendering. Flutter draws its own UI. Its Impeller renderer is the default on iOS and on Android API 29 and up, and it precompiles its shaders at engine-build time so they don't compile while your app runs. React Native renders real native views, with your app logic on a JavaScript thread. Hermes, its default engine, is built to improve start-up time, memory use and app size.
- Overlays and gestures. Scrubbers, captions, likes and comment sheets on top of playing video are where frames drop. In React Native, heavy work on the JS thread during playback is the usual culprit. In Flutter, it's rebuilding too much of the widget tree on every tick.
Pick the framework your team ships fastest in, then follow the rules that matter in both: keep only one or two player instances alive, preload just the next video, dispose of players as they scroll off screen, and serve HLS instead of raw MP4. If you're on FlutterFlow today, our FlutterFlow performance guide and FlutterFlow vs React Native comparison cover the platform-specific side.
Why your app lags when users spike
An app that's fast for 50 users and sluggish for 5,000 hasn't changed on the phone. Something shared behind it ran out of room. Our mobile app load testing guide covers how to reproduce a spike safely. These are the culprits a spike test turns up.
Slow queries and missing indexes
A query that scans a whole table takes 20 milliseconds with 1,000 rows and seconds with a million. Supabase's query optimization docs cover finding slow queries, reading query plans and adding the right indexes. Check the slowest queries first, not the most common ones.
N+1 queries
An N+1 problem happens when the app loads a list with one query, then fires another query for each item in it. Twenty items means 21 round trips. It feels fine in testing and collapses under load because every user multiplies it. Fetch related data in one query with a join or a nested select instead.
Cold starts
Serverless functions spin down when idle, and the first request after that waits for a cold start. Firebase's Cloud Functions tips recommend setting a minimum number of instances for latency-sensitive functions and caching connections and API clients in global scope so warm requests reuse them.
Connection limits
Postgres can only hold so many open connections. A burst of serverless functions, each opening its own connection, hits that ceiling fast. Supabase's connection guide recommends the shared pooler in transaction mode for serverless and edge functions for exactly this reason. On Firestore, the equivalent trap is hotspotting: high write rates to lexicographically close documents, such as sequential IDs, cause contention errors.
No caching layer
If every user who opens the app re-fetches the same leaderboard or product catalog, your database does the same work thousands of times. Cache shared, rarely changing data at the CDN or in memory, and set a short expiry. Watch third-party APIs too: if every request calls a rate-limited service, a spike turns into errors. Our post on API rate limits covers how to handle that.
Turn speed into a habit
Performance slips one feature at a time, so check it on every release, not once a year. Keep a short budget (LCP, INP, cold start, p95 API latency), run Lighthouse and a profiler pass before each release, and watch field data after it ships. At Let’s Build My App, Alex reviews every change before it ships, and speed regressions are part of that review. If your app needs a performance pass or a rebuild, our flat monthly plans cover that work as ordinary requests.
Frequently asked questions
What are the best free tools to test mobile app loading speed?
For web apps and PWAs, use PageSpeed Insights for real-user and lab data, Lighthouse and the Chrome DevTools Performance panel to find the cause, and WebPageTest for filmstrips on real devices. For installed apps, use Android Studio Profiler, Xcode Instruments, Flutter DevTools in profile mode, and Firebase Performance Monitoring for data from real users.
Is Flutter or React Native faster for an app with a lot of video?
Playback performs about the same, because Flutter's video_player and React Native libraries like expo-video both use AVPlayer on iOS and ExoPlayer on Android. The difference is in the feed and overlays around the video. Use lazy lists or FlashList, keep few player instances alive, and stream HLS on either framework.
How do I make a heavy web app load faster on phones without removing features?
Change when things load. Split JavaScript by route, defer third-party scripts, serve AVIF or WebP images at the displayed size, stream video with HLS, cache versioned files for a year on a CDN, and fetch only the data each screen shows. Every feature stays, it just stops loading on the first screen.
Why is our app suddenly lagging when we get a spike in users?
The bottleneck is a shared backend resource: slow queries without indexes, N+1 query patterns, serverless cold starts, database connection limits or a missing cache. Load test a staging copy to reproduce it, then fix whichever one shows the worst p95 latency first.
What is a good Core Web Vitals score on mobile?
Google's thresholds are LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less, measured at the 75th percentile of mobile page loads. A page passes when it meets all three.
About Let’s Build My App
Let’s Build My App is a US-based AI development agency. We design, build, and launch production-grade custom software using AI coding tools including Claude Code and OpenAI Codex, and we migrate legacy Bubble apps onto AI-coded stacks such as React, Supabase, and Firebase. Founded and run by Alex Dow. Book a free strategy call to scope your project.
You liked this article ? Share it!
Ready to turn
your idea into reality?

Got a question?
How can I get a quote?
Jump on a free strategy call with our founder, Alex. You can schedule here or reach out to us directly.
How long will it take to complete my project?
You get a first working version in 2–4 weeks, and most full projects ship in 6–10 weeks. Timeline depends on feature complexity. Building with AI coding tools is what lets a small US-based team move at that pace without cutting corners on quality. Schedule a call for an exact estimate based on your scope.
What is AI-powered app development?
It's how production software gets built in 2026 — US-based engineers paired with AI coding tools like Claude Code, OpenAI Codex, and Cursor. You get real production code (React, Next.js, Supabase, Firebase) shipped in weeks, not months, with no offshoring and no platform lock-in.
Can AI-coded apps handle complex production workloads?
Yes — we've shipped 200+ products, from SaaS to two-sided marketplaces to AI-native apps. Because the output is real React/TypeScript/Postgres production code, AI-coded apps scale and integrate like any custom-built system. No platform ceiling, no vendor lock-in.
What happens after the application is deployed?
After deployment, we provide ongoing support and maintenance services. This includes regular updates, bug fixes, and addressing any changes. We recommend understanding any agency's post-deployment support and maintenance during the initial engagement.
