React.js Conf 2016 - Tadeu Zagallo - Optimising React Native: Tools and Tips
Why Stack Overflow recommends it
Stack Overflow users link it when they need to understand React Native's perf monitor numbers, Systrace markers and CPU profiling setup.
Recommended by 0 people across 0 different months, 2016 to 2017.
What it is
A 24-minute React.js Conf 2016 talk by Tadeu Zagallo of the React Native team at Facebook. It walks through the tools used to find and fix performance problems in React Native apps, including the performance monitor, Systrace and CPU profiling, plus tips for making apps faster.
What people said
Cites jay shah · 2016-06 · Stack Overflow · on “React Native Android Systrace JS marker support”
React native Android JS level markers are not nearly as useful as the ones present in IOS (see [this video] ). There are couple of things I have observed as of RN 0.29-stable on React native repo on github. 1) Logging into Systrace.js, the _enabled is always false for android(android has code onTraceStarted in Java side but never gets triggered). Constrasting with IOS, _enabled is controlled by dev options dialog. 2) Systrace.js uses functions installed globally : nativeTraceBeginSection and others in order for showing markers, which are globally installed for IOS but not for Android. Seeing the corresponding android jni file for jscexecutor, could probably make use of #ifdef WITH_FBSYSTRACE #inc
Cites toddmetheny · 2016-12 · Stack Overflow · on “react-native performance monitor”
Thanks @diedu for posting a link (to a post, which has a comment w/ this youtube vid [this video] ): Here's a basic list of what each of those things represents. RAM: memory JSC: Javascript heap / memory. Will only be updated as garbage collection occurs. Views: Two numbers. Top number is the number of views on the screen and bottom is the total number of views in the component. Bottom number typically larger but usually indicates you have something that could be improved / refactored. UI: main frames per second JS (not pictured in Q): javascript frames per second. not rendering js but still good to monitor. Hope this helps someone.
Cites Sam Berg · 2017-07 · Stack Overflow · on “How to build a react native dynamic library for a specific ios version?”
I want to inspect my app and do some CPU profiling and according to this video [this video] , I am supposed to build a react native dynamic library for a specific iOS version. I have managed to build a library and link it through Xcode but can't figure out the command for how to build it for a "specific" ios version. Any help is much appreciated.