realm-swift icon indicating copy to clipboard operation
realm-swift copied to clipboard

SwiftUI Performance issues

Open sync-by-unito[bot] opened this issue 2 years ago • 7 comments

This issue is a compilation of all SwiftUI performance issues, which we are investigating at the moment https://www.mongodb.com/community/forums/t/swiftui-slow-loading-views/147346/9 https://github.com/realm/realm-swift/issues/7743 https://github.com/realm/realm-swift/issues/7708

sync-by-unito[bot] avatar Apr 07 '22 09:04 sync-by-unito[bot]

@dianaafanador3 Any progress on this - I have not had a request for any sample code/database - my issue is a read performance issue so not quite the same as some of the others who appear to have write issues

duncangroenewald avatar May 06 '22 20:05 duncangroenewald

Tested with 10.26.0 and the performance issue still exists

duncangroenewald avatar May 20 '22 02:05 duncangroenewald

@dianaafanador3

#7734 #7734 #4383 in realm-js as well as the community forums thread

Are all pointing towards (but not 100% confirmed) a performance regression being introduced with Realm Core 11.8.0.

We're about to release a game that uses React Native and Realm Sync. We can't temporarily downgrade to an older version of Realm JS (with Realm Core < 11.8.0) due to other compatibility issues, so we're currently unable to release the game due to this regression because of the lag it causes. Any help would be greatly appreciated!

AdamGerthel avatar May 24 '22 07:05 AdamGerthel

@duncangroenewald, @AdamGerthel we are trying to find the root of this issue as @AdamGerthel suggest this may be caused by a core update. Thanks @AdamGerthel for collect all this info.

dianaafanador3 avatar May 24 '22 09:05 dianaafanador3

This does still seem to be a major issue that isn't resolved. Is there any progress on it or proposed solutions @dianaafanador3 ?

misterlib avatar Sep 06 '22 17:09 misterlib

@misterlib - I think these issues are resolved now. The problems I reported are certainly fixed in the latest version.

duncangroenewald avatar Sep 08 '22 19:09 duncangroenewald

@misterlib @duncangroenewald we still have some time stored to work in SwiftUI Improvements and performance. Also, we have fixed some parts of the code which may be causing some performance issues in SwiftUI. @misterlib Can you check if you are still seen this performance issues?

dianaafanador3 avatar Sep 13 '22 10:09 dianaafanador3