-
Notifications
You must be signed in to change notification settings - Fork 122
MapBox on Simulator extremely slow on Xcode 10 #172
Comments
Thanks for the report @racer1988. It looks like you have a minimal setup, so things ought to be ok. We do have a known issue caused by poor performance of some of the accessibility code, which can be triggered when using the simulator AND window management tools. For example, I had a similar experience when running Magnet. Are you running anything like this? |
Hi, @racer1988. I'm using the same Xcode version as you Version 10.1 (10B61) and haven't notice any slowness. Have you tried in a different mac with different conf as yours? Also note that in the comment points that you may have other tools interfering. |
Hi @julianrex @fabian-guerra! I do not use any window management tool. I don't believe that is the issue. Please let this issue open:
Keep you posted soon! |
@julianrex @fabian-guerra I did a quick test run and here are some results. Test results:1- I can reproduce the issue on my machine, using an empty project. Tomorrow I will:
Additional details:
Logs:
Investigation:It looks to me that the poor performances are because the renderer is not fast enought and fills the main thread to 100% losing scrolling frames: |
@julianrex @fabian-guerra I tested this on different machine and settings:
1- Disabling macOS Automatic Graphic Switching feels it improves slightly the performances. Here is the bare minimum project: https://github.com/racer1988/MapboxSimulatorLag Here is a Video of the issue (in the same repo): |
up |
Hi, I'm also have very bad simulator performance. In some tests I can notice a very large memory allocation when I set the zoom map between 5 and 15. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
I'm also experiencing poor performance on the simulator. Using Xcode 11.4 |
I'm seeing this issue with the window manager app Magnet (mentioned above). Odd bug.. will this be fixed? |
This was fixed by #318, which was included in the iOS |
Hello!
I noticed similar issues opened for Xcode 9 (like mapbox/mapbox-gl-native#10199).
I nearly can't use the map in the simulator.
I would like to know if this is a known issue, some settings I need to configure or something else.
I included the map in a view controller:
and the entire controller containing the map is included in another controller via child-parent connection:
Configuration
Thanks
The text was updated successfully, but these errors were encountered: