visgl / visgl/deck.gl

Data accessor methods shouldn't be invoked for hidden layers

Open
#6,056 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Target Use case

It would be a big performance improvement if DeckGL doesn't invoke data accessors for hidden layers as they run on the CPU (Official docs)

Any specific reason for not doing so?

Proposed feature

If a layer isn't visible, it's data accessor methods shouldn't be invoked

To Do List
  • Add label and assign to milestone
  • Coding
  • Doc update
  • What’s new update
  • Test

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the deck.gl performance documentation linked in the issue and trace how layer visibility relates to data accessor invocation. Confirm the behavior for hidden layers and add coverage showing that hidden layers do not invoke their data accessors; done means the performance behavior is verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.