This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Android: too many state updates prior to rendering #7536
Labels
Android
Mapbox Maps SDK for Android
bug
performance
Speed, stability, CPU usage, memory usage, or power usage
On Android, we seem to be doing way too many state updates: I'm seeing 30+ calls to
setScalePoint
with minor differences, which are followed immediately with a call toupdate()
(meaning we recalculate the style + tiles, a relatively expensive operation). We should track down the source that leads tosetScalePoint
being called to many times within one frame.The text was updated successfully, but these errors were encountered: