mapbox / DEPRECATED-mapbox-ios-sdk

REPLACED – use https://www.mapbox.com/ios-sdk instead
https://github.com/mapbox/mapbox-gl-native
Other
323 stars 8 forks source link

After iOS 9 huge CPU usage #674

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi, I'm using Mapbox in my app and after update to iOS 9 maps became very slow and irresponsive. On iPhone 6 with iOS 9 CPU usage is around 100% on one core, same app on iOS 8 and different iPhone 6 has ~2% CPU. I don't really know what to do with it custom map is one of the key feature of this app. Has anyone similar problem?

1ec5 commented 8 years ago

Hi @blazejchwiecko, can you try profiling your app in Instruments? Curious if anything stands out.

ghost commented 8 years ago

It's weird but didUpdateLocation uses almost all of my CPU, so I'm guessing is about redrawing annotations after location update.