Skip to content

[bug] File tree can take a long time to load #651

@brendan-kellam

Description

@brendan-kellam

Describe the bug

For larger repositories, the file tree can take upwards of 10-20 seconds to load.

To reproduce

Open a larger project in browse.

Sourcebot deployment information

Sourcebot version (e.g. v3.0.1): latest

Additional information

My guess is that the bulk of the time is in the ls-tree command, as well as transmitting the large json blob. We could probably only load in a subset of the information, and then dynamically request additional data as the user expands folders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions