-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Degraded FPS when upgrading from 7.4.0-alpha.1 -> 7.4.0-alpha.2 #14902
Comments
@jdale38 could you please provide us the style + data example? That would make a lot easier to bisect the issue. |
@jdale38 could you also give more details on how much FPS got lowered? |
@tmpsantos we've authored our own style and host our own data. Number details include 14 sources, 10 of them being @pozdnyakov before Also, during a pan/scroll/zoom event, FPS would drop below 10 fps. Close to 5 fps. Using the same reporting from the Android SDK to verify. Tested on Google Pixel, Android 9. |
@jdale38 if granting us access to your style/tile endpoint is not an option, could you please provide us a test style using Mapbox tiles (streets, terrain, etc) that could be used for reproducing this regression? We will be more than happy to investigate the issue and even include this style to our benchmark to prevent future regressions. |
Recently, I came across rendering performance drop which seems to be connected with the commit stated at the beginning of this conversation. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
When updating to the latest stable Android SDK
v8.0.0
fromv6.8.2
, I've noticed some degradation in FPS rendering the map view. I've been able to pin point the change in behavior betweenv7.4.0-alpha.1
andv7.4.0-alpha.2
. It may have something to do with this commit at line 254:4b19324#diff-2385730c5fa63a2ee05519037d6676c3R254
The nested
for
loop would make an impact on a fairly large stylesheet with a lot of sources and layers. Let me know if there's any other information you need to debug. Thanks!Steps to reproduce
v7.4.0-alpha.1
v7.4.0-alpha.2
Expected behavior
Same FPS or better when upgrading/updating SDK.
Actual behavior
Lowered FPS when rendering map.
Configuration
Android versions: 9
Device models: Pixel, Android emulator
Mapbox SDK versions:
7.4.0-alpha.2
or greaterThe text was updated successfully, but these errors were encountered: