software-mansion/react-freeze

[Help] How does one measure the performance gains?

mihir0x69 opened this issue · 2 comments

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.

MuckT commented

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 valora-inc/wallet#2995.