-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realm makes JS FPS drop significantly when app stays offline for a long time #3882
Comments
Hi Baira! |
Hello Brian, Thank you for your input! So I created a minimal reproducing example using After days of digging into this, it seems the problem happens whenever realm is opened in sync mode while offline. Something realm does blocks the bridge and thus prevents smooth UI interaction. I noticed that opening the realm in |
I forgot to mention that this happens on Android. I didn't test this on iOS. |
@baira Thank you for the example and the description. We will run your example to see the behaviour. |
@kneth @bmunkholm any progress on this ? Just asking, I know you must have many things to do. |
I'm encountering the same issue on iOS (Realm 10.8.0). When the app is opened in offline mode after having been in offline mode for some time (in our case, a whole night), the UI is extremely slow. Is there any fix for this yet? |
I am having the same issue if i leave the app offline for 30 minutes. If i click on a button then the click is registered after around 10 second. |
We have a fix in |
Thanks a ton guys! can't wait for the next release! |
The fix is included in version 10.10.1. |
I use Realm in production in several applications developed with react native. Multiple users complained that the app slows down significantly when they use it for several hours offline. The app is intended for offline-first use. Weirdly, when they go online, the app functions normally.
We use the latest realm-js version with react native, realm sync and react-native-navigation. I was able to reproduce the bug and realm is definitely the issue. I can give access to private repository if a contributor is interested.
The text was updated successfully, but these errors were encountered: