Skip to content

Slow to open a repo if there’s many branches in it #14180

Closed
@skyline75489

Description

@skyline75489
  • Gitea version (or commit ref): 1.13.0
  • Git version: git 2.29.2.windows
  • Operating system: Windows 10 1809
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Didn’t really try
    • Yes (provide example URL)
    • No
  • Log gist:

Description

The title may be a bit misleading.

I was building a local mirror of PyTorch manually using git push —mirror. And I found that opening the repo is exceptionally slow (~11 seconds). I also built a clone of gitea itself and the time to open the repo is reasonable (~2 seconds).

I think the reason is that PyTorch has over 4000 branches in it.

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    performance/speedperformance issues with slow downstopic/uiChange the appearance of the Gitea UI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions