Optimizing Compose: Issues, Experience, Tactics, Strategy
summary
Talk examines performance optimization for Jetpack Compose, describing real-world problem cases encountered in development and proposing a set of standard optimizations and architectural guidelines to raise developer qualifications. It emphasizes monitoring as a key tool to locate hotspots, presents solutions for frequently-changing state including a partially mutable state approach, and offers recommendations for onboarding developers into Compose.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:10Compose issues and context
- 3:44Profiler problems and reality
- 4:48Download animation case
- 7:20Animation list problems
- 9:32Typical optimizations
- 10:29Stability and equivalence
- 11:58State hoisting to target function
- 13:50Lambda issues and solution
- 15:13Stable interfaces and wrappers
- 16:42State handling via snapshotFlow
- 18:29Animation without recomposition
- 19:59State architecture and quasi-immutability
- 22:31Fast solution for mutable data
- 24:47Flow solution for statuses
- 26:13Quasi-immutable state approach
- 31:14Optimization strategy and architecture
- 32:41Conclusion and recommendations
- 33:46Q&A
- 45:22Chat Q&A and closing
related talks
21mPerformance best practices for Jetpack Compose
24mJetpack Compose Performance Improvements Learned from Real Examples
38mDesigning scalable Compose APIs
38mJetPack Compose Performance Tips & Tricks
21mMore performance tips for Jetpack Compose
36mNever Be Confused Again! A Practical Guide to Writing Jetpack Compose
33mThe dark sides of Jetpack Compose
43mSwitching to Compose? Don’t Rush!
