How Fullstory lowered Fullstory for Android’s impact on app startup time by 75% thanks to Emerge Tools
Original post How we lowered Fullstory for Android’s impact on app startup time by 75% thanks to Emerge Tools
Article Summary
Prashanth Sadasivan from Fullstory shares how a single customer report exposed a hidden performance killer in their Android SDK. One method call was silently adding 100ms to every app launch.
When a prospect flagged a 6% startup time increase from Fullstory's Android SDK, the team used Emerge Tools' performance analysis to pinpoint the culprit: ClassLoader#getResourceAsStream was doing unnecessary heavy lifting during app initialization. What followed was a masterclass in incremental optimization.
Key Takeaways
- SDK initialization improved 75% by switching from ClassLoader to Android assets
- Deferred parsing non-critical metadata until after session confirmation
- Off-thread work increased 116% but had zero user-facing impact
- Manual testing required 80 samples per change without proper tooling
By replacing a slow file-reading method and deferring metadata parsing, Fullstory cut their Android SDK's startup impact from ~270ms to ~68ms.
Continue reading
This page summarizes “How we lowered Fullstory for Android’s impact on app startup time by 75% thanks to Emerge Tools” by Fullstory, published Jun 27, 2023. All credit for the original work goes to the authors.