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.

Partial tiles constantly being reparsed #1458

Closed

Description

@tmpsantos

When a tile is partially parsed (i.e. it is waiting for more data from the network like glyphs and sprites), we are reparsing it everytime we call update(). We should only reparse partial tiles when new glyphs or sprites arrive.

That would avoid the CPU being 100% all the time until everything is downloaded and partial tiles are on the viewport.

Activity

  1. self-assigned this
    on May 7, 2015
  2. added
    performance
    on May 7, 2015
  3. added this to the iOS Beta 1 milestone on May 7, 2015
  4. tmpsantos commented on May 7, 2015

    @tmpsantos
    ContributorAuthor

    Setting this to Beta 1 because the performance gain is noticeable.

  5. added 2 commits that reference this issue on May 7, 2015
    91d2a63
    9d6698b
  6. tmpsantos commented on May 7, 2015

    @tmpsantos
    ContributorAuthor

    Unfortunately there is a stall on two tests (14 and 50). I can reproduce it here on my laptop only on Debug builds. It is late here and I didn't find the cause, so let's not merge this branch for now.

    I will continue from tomorrow morning.

  7. springmeyer commented on May 7, 2015

    @springmeyer
    Contributor

    @tmpsantos 👍 - hopefully with fresh eyes tomorrow you can solve. Rest well.

  8. added 3 commits that reference this issue on May 11, 2015
    6f02593
    93b9e28
    67025d7
  9. added 2 commits that reference this issue on May 15, 2015
    5b86c57
    aaaf1e4
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

    performance

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions