Skip to content

Steel code view widget is slow when loading code for a complex GraphΒ #127

@mitchmindtree

Description

@mitchmindtree

This only happens when switching between graphs with the widget open, or when opening the widget for the first time with a complex graph selected.

I'm guessing this has something to do with running the text layout on a lot of code.

Ideally we can speed this up directly somehow so we can continue to load the widget synchronously, otherwise we might want to consider loading the text asynchronously (showing some placeholder spinner in the meantime) to avoid lagging the main thread.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions