Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Heading tracking mode idles at 50%+ CPU #9822

Closed
friedbunny opened this issue Aug 21, 2017 · 5 comments
Closed

Heading tracking mode idles at 50%+ CPU #9822

friedbunny opened this issue Aug 21, 2017 · 5 comments
Assignees
Labels
bug iOS Mapbox Maps SDK for iOS
Milestone

Comments

@friedbunny
Copy link
Contributor

Platform: iOS 10
Mapbox SDK version: iOS v3.6.0-3.6.2

Steps to trigger behavior

  1. Enable heading tracking mode.
  2. Observe CPU idling at 50-65%, when idle should be 0-1%.

This bisects back to #7716 and 3b109c8.

/cc @frederoni

@friedbunny friedbunny added bug iOS Mapbox Maps SDK for iOS labels Aug 21, 2017
@friedbunny friedbunny added this to the ios-v3.6.3 milestone Aug 21, 2017
@mdakram
Copy link

mdakram commented Aug 22, 2017

screen shot 2017-08-22 at 1 40 42 pm

Pretty high CPU usage in case heading tracking on Android too.

@tobrun
Copy link
Member

tobrun commented Aug 22, 2017

@mdakram is this with using TrackingSettings/MyLocationView setup on Android? Have you tried the LocationLayer plugin that will deprecate the former?

@friedbunny
Copy link
Contributor Author

@mdakram the issue here appears to be specific to iOS layout code (that’s platform specific), so I would expect any Android performance issues to be unrelated.

@mdakram
Copy link

mdakram commented Aug 22, 2017

@friedbunny May be.

Yes @tobrun i tried LocationLayer too(which is not good for just showing user's location, when user is moving location dot seems to jump from one location to another, unlike LocationView, which is smooth), but it seems CPU usage is due to tile rendering.

@friedbunny
Copy link
Contributor Author

Fixed in #9845, will be in v3.6.3.

@mdakram please go ahead and open a new issue for Android, as this particular issue did turn out to be specific to iOS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

3 participants