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.

Fast recreation leads to slow style loading #11123

Closed

Description

@tobrun

When recreating activities, you can see the map load becoming slower and slower.

ezgif com-video-to-gif 9

This is the source of flaky instrumentation tests #10998 as those tests timeout when it takes too long to load the style.

Activity

  1. added
    Android
    on Feb 6, 2018
  2. tobrun commented on Feb 6, 2018

    @tobrun
    MemberAuthor

    Atm it seems that FileSource is responsible for the delay. FileSource is a singleton that is shared between maps instances. When a map is loaded we requests resources from it, when we quickly create a new map the FileSource seems to be occupied with loading resources from the previous map before being able to load resources for the new map.

  3. tobrun commented on Sep 20, 2018

    @tobrun
    MemberAuthor

    Closing as not-actionable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions