So basically, could I build the Photos app (or something like it) in SwiftData. Seems to be no. Because Query cannot handle anything remotely close to the thousands of displayed objects.
I tested a manual fetch on context. Performed in milliseconds as expected. But anything in Query, completely fails with like 10 seconds when it gets bad
@xmollv this is wild. I added a little button to your app that simply creates a new item. The button hangs for over 2 seconds because the update takes you know however many milliseconds but then the query kicks in on the main thread and blocks everything. Its ridiculously bad.
@DTS Engineer can you revisit this? We have submitted issues, but this is ridiculously problematic
So basically, could I build the Photos app (or something like it) in SwiftData. Seems to be no. Because Query cannot handle anything remotely close to the thousands of displayed objects.
I tested a manual fetch on context. Performed in milliseconds as expected. But anything in Query, completely fails with like 10 seconds when it gets bad
@xmollv this is wild. I added a little button to your app that simply creates a new item. The button hangs for over 2 seconds because the update takes you know however many milliseconds but then the query kicks in on the main thread and blocks everything. Its ridiculously bad.
@DTS Engineer can you revisit this? We have submitted issues, but this is ridiculously problematic