[PHAsset fetchAssetsInAssetCollection: ... ] notably slower in ios16+ ?

has anyone noticed this query being a lot slower in newer iOS versions?

we try to get counts of all assets in all asset collections (folders) to display in a selector table for the user to select an album to work with, and it seems to be lagging recently when there are a lot of assets involved

maybe some of the assets are on iCloud? not sure. getting user reports of speed issues.

we are trying to set .fetchLimit in fetch options to a number like 1000 or so to keep it from scanning all assets as a test to see if we get fewer complaints, but will have to wait for user feedback and our tracking metrics to see if it speeds up or not on real user devices with lots of photos.

regarding counts, we are seeing users with 100k+ assets on a device (photos & videos).

[PHAsset fetchAssetsInAssetCollection: ... ] notably slower in ios16+ ?
 
 
Q