react-freeze
react-freeze copied to clipboard
[Help] How does one measure the performance gains?
This is not exactly an "issue" with the library. But a few pointers on how to measure the performance gains (in release mode) would help me justify using this library in our app. TIA!
I use it in my react-native app and I have a huge performance gain when switching to dark mode or changing language in my app because it updates only the focused screen and updates the other screens when they are focused.
The <profileable>
tag in the AndroidManifest.xml
was probably the best way I found to profile RN Applications on Android in release mode. You can also set it up conditionally to avoid including it in true release builds as was done in https://github.com/valora-inc/wallet/pull/2995.