Home Code React Native Performance in Marketplace · React Native

React Native Performance in Marketplace · React Native

by TM

React Native is widely used in various apps within the Facebook family, including Marketplace. The Facebook team has focused on improving the Time to Interaction (TTI) for Marketplace on low-end Android devices. They found that relying on tools like Systrace and CTScan for performance analysis was not representative of real-world scenarios. They learned that certain tasks that were expected to take only a few milliseconds actually took much longer. They shifted their approach to using production measurements and breakdowns to prioritize their efforts and make decisions. Instrumenting production proved to be a complex process, requiring multiple iterations and gathering sufficient samples for confidence. Through their efforts, they were able to reduce startup time by over 25%. They also discovered wins by optimizing native modules and avoiding unnecessary work. Their long-term goal is to bring React Native performance on par with native performance.

Source link

You may also like

Leave a Comment

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?
-
00:00
00:00
Update Required Flash plugin
-
00:00
00:00