Skip to content

[Bug] Huge performance issue with editable layers (EditableGeoJsonLayer) #453

@andrewk604

Description

@andrewk604

Module

  • deck.gl-community/arrow-layers
  • deck.gl-community/bing-maps
  • deck.gl-community/editable-layers
  • deck.gl-community/experimental
  • deck.gl-community/graph-layers
  • deck.gl-community/layers
  • deck.gl-community/react
  • deck.gl-community/react-graph-layer

Description

Running the examples/editable-layers/editor example in the deck.gl-community repo shows severe performance degradation during normal editing interactions (pointer move / drag / vertex edit). The UI becomes noticeably laggy, making the editor hard to use.

This looks like an interaction-driven performance issue (likely excessive re-renders and/or too many layer updates per pointer event), but I’m filing it because it happens out-of-the-box on the example.

Attaching a video showing the issue

Deck.gl.Performance.Issues.mp4

Expected Behavior

I expect smooth, non-laggy experience.

Steps to Reproduce

Either run examples/editable-layers/editor in the latest version of the repo, or see this sandbox, which also mimics the same behaviour:

https://codesandbox.io/p/sandbox/deck-gl-demo-f629f5

Environment

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions