Performance when using UICollectionViewDiffableDataSource in conjunction with NSFetchedResultsController

I am having difficulty in getting acceptable performance when trying to use UICollectionViewDiffableDataSource in conjunction with a NSFetchedResultsController when the number of fetched objects is large (8000+). In comparison to using the NSFetchedResultsController directly as the data source, using a diffable data source and populating it with a snapshot in controller(_ :, didChangeContentWith:) is very slow.

I have set my fetch request to a small batch size (20), the same exact fetch request populates the collection view almost instantly when using the NSFetchedResultsController as the data source via the usual collection view data source methods.
Did you solve this?
please try to use managed object context with background priority
This is impossible to answer without seeing your app. How you interact with the data source and use it to configure the layout of the the collection view and its cells has a large impact on performance.
Performance when using UICollectionViewDiffableDataSource in conjunction with NSFetchedResultsController
 
 
Q