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

Heading tracking mode idles at 50%+ CPU #9822

Closed

Description

@friedbunny

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

Activity

  1. added
    iOS
    on Aug 21, 2017
  2. added this to the ios-v3.6.3 milestone on Aug 21, 2017
  3. mdakram commented on Aug 22, 2017

    @mdakram

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

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

  4. tobrun commented on Aug 22, 2017

    @tobrun
    Member

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

  5. friedbunny commented on Aug 22, 2017

    @friedbunny
    ContributorAuthor

    @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.

  6. mdakram commented on Aug 22, 2017

    @mdakram

    @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.

  7. self-assigned this
    on Aug 22, 2017
  8. friedbunny commented on Aug 24, 2017

    @friedbunny
    ContributorAuthor

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugiOS

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions