SDK Size Impact
When developing a mobile app, one crucial performance metric is app size. An app’s size can be difficult to accurately measure with multiple variants and device spreads. Once measured, it’s even more difficult to understand and identify what’s contributing to size bloat.
This document provides an analysis of the impact of adding StreamVideo and StreamVideoSwiftUI iOS SDKs to an existing mobile application. The analysis includes the size of the SDKs and the impact on the app's binary size.
The following analysis was conducted using the
mdls -n kMDItemPhysicalSize command in the Terminal after building the app with and without the SDK.
w/o framework with framework difference App Size (Release) 13_463_552 18_440_192 4_976_640
w/o framework with framework difference App Size (Release) 13_463_552 16_986_112 3_522_560
The tables above show the impact of integrating the SDKs on the app's binary size, in bytes.
Based on the analysis conducted, both StreamVideo and StreamVideoSwiftUI SDKs are lightweight and optimized for optimal performance. We are confident that our Video SDKs will enhance the functionality of your app without compromising its performance or increasing its binary size significantly.