This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
release build exposes metrics lag #1109
Labels
iOS
Mapbox Maps SDK for iOS
performance
Speed, stability, CPU usage, memory usage, or power usage
telemetry
Integration with Mapbox Telemetry libraries
Milestone
Comments
incanus
added
iOS
Mapbox Maps SDK for iOS
performance
Speed, stability, CPU usage, memory usage, or power usage
labels
Mar 26, 2015
I am seeing this both in Is it just my setup? Seeing it on two devices. |
bleege
added a commit
that referenced
this issue
Mar 26, 2015
bleege
added a commit
that referenced
this issue
Mar 26, 2015
Just wrapped the gesture events in an async concurrent background thread so that they're as far away from the main UI thread as possible. Also wrapped the pushEvent and flush methods in serial background queues so things stay in order, but if there's a lag it won't impact the UI. |
Merged
Hmm, I am still seeing all activity on |
Thanks for the GCD education @incanus! Now they should be serial queues. |
I should clarify in my original post that those were CPU time totals for the actions. Going to check this out shortly. |
Fixed in #1112. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
iOS
Mapbox Maps SDK for iOS
performance
Speed, stability, CPU usage, memory usage, or power usage
telemetry
Integration with Mapbox Telemetry libraries
I am seeing a pretty considerable lag with the three main gestures now due to metrics.
This is showing the gesture metrics for pan, pinch, and rotate taking 10-20x longer than the actual move, zoom, and bearing commands. It's impacting the framerate.
479ms
to track,22ms
to make the change,13ms
to push the track373ms
to track,21ms
to make the change306ms
to track,33ms
to make the changeAll on main thread.
/cc @bleege
The text was updated successfully, but these errors were encountered: