You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
The panning / flyto slowness we've been observing on master and agua seems to be because of some underlying performance problem related to an internal framework method (_updateConstraintsAsNecessaryAndApplyLayoutFromEngine) to update constraints. We were exposed to this in #9995 by setting _scaleBar.translatesAutoresizingMaskIntoConstraints = NO;.
However, this was not actually a problem before the last merge but something about the rendering interface updates done back in b6d56ad trigger this problem and are driven by repeated calls to -[MGLScaleBar setMetersPerPoint:] in -[MGLMapView cameraIsChanging].
We see this problem now after the merge since all of the commits to trigger it are in place (there is no problem with the merge itself). The constant updates to the scale bar's frame triggered by the renderer / camera / gesture updates are just too much.
The panning / flyto slowness we've been observing on
masterandaguaseems to be because of some underlying performance problem related to an internal framework method (_updateConstraintsAsNecessaryAndApplyLayoutFromEngine) to update constraints. We were exposed to this in #9995 by setting_scaleBar.translatesAutoresizingMaskIntoConstraints = NO;.However, this was not actually a problem before the last merge but something about the rendering interface updates done back in b6d56ad trigger this problem and are driven by repeated calls to
-[MGLScaleBar setMetersPerPoint:]in-[MGLMapView cameraIsChanging].We see this problem now after the merge since all of the commits to trigger it are in place (there is no problem with the merge itself). The constant updates to the scale bar's frame triggered by the renderer / camera / gesture updates are just too much.
cc @frederoni @1ec5 @fabian-guerra @ivovandongen @lilykaiser