Skip to content

Grid: Improve performance #63976

Open
Open

Description

The performance of the Grid block when in Manual mode (and probably also Auto mode) is bad.

You particularly notice that the UI is slow to react to mouse events after the editor has been running for a while, so there's probably some memory leaking.

I can also see that all the components in GridVisualizer are updating on every keystroke which isn't good. An easy win might be to memo() every cell. We are probably over-useSelecting data in a lot of places too.

Kapture.2024-07-26.at.14.39.43.mp4

Let's spend some time tuning this before shipping.

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

Metadata

Assignees

No one assigned

    Labels

    [Feature] LayoutLayout block support, its UI controls, and style output.Layout block support, its UI controls, and style output.[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions