High-Performance App Development: Common Bottlenecks and How TripAdvisor Measured Its Way to a Faster App
Article Summary
TripAdvisor ships a 100MB app every two weeks to millions of users. One regression could tank performance for their entire user base.
Nate Mackey and Jay Harris from TripAdvisor share how they rebuilt their home screen with performance as a first-class requirement. They measured their way through network bottlenecks, image loading issues, and scroll jank to create a data-driven performance optimization playbook.
Key Takeaways
- 90th percentile network requests took 1.5 seconds globally, even with fast servers
- Images were 93% of payload. Adaptive quality based on bandwidth increased engagement.
- Built priority queue for image loading so new screens don't compete with old ones
- Used Instagram's IGListKit and reference-counted network loaders to coordinate requests
- Measured pre-main startup time and flagged CI builds that increased app size
Critical Insight
TripAdvisor proved that measuring first, then optimizing based on real user data (not assumptions) leads to both better performance metrics and improved business outcomes.