-
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! |
Beta Was this translation helpful? Give feedback.
Answered by
WoLewicki
Mar 10, 2022
Replies: 1 comment 2 replies
-
@kmagiera @WoLewicki Tagging you for some attention to this question :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should be able to measure performance with standard tools for this, such as memory usage, CPU usage, battery usage etc. Since
native-stack
detaches previous native views when navigating forward, the gains should be mostly visible while having many heavy screens pushed inside the navigator. Withnative-stack
, (or with jsstack
withreact-native-screens
enabled), it should consume much less memory when navigating forward. I attached a simple example below. You should see difference in memory usage when switching the options and navigating forward. It would probably be even more visible when changing buttons to some images, which consume much memory on native side.