gitea: Gitea slow on corperate Windows 10 environment

  • Gitea version (or commit ref): 6a6656a, but was the same since 1.6
  • Git version: 2.21.0
  • Operating system: Windows 10 Pro
  • Database (use [x]): (also tried MSSQL but no difference)
    • PostgreSQL
    • MySQL
    • SQLite
    • [] MSSQL
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Gitea on my Work PC is generally very slow. My PC has plenty of resources left according to resmon. Changing to the commit view of the repo takes 9.4 seconds. Trying to create a pull request between two branches, the loading time after selecting the branch is 50 sencods. I already tried disabling the antivirus, and it does help (pull request goes down to 42 seconds), but that’s still way to much.

Any way to debug what is taking so long? I looked at ProcessExplorer, but all i can see is that gitea spawns a view git processes in that time. Maybe i just need to know where to look…

Thanks in advance!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 31 (16 by maintainers)

Most upvoted comments

Hehe, well thanks @filipnavara! That was a great improvement!

@sapk and @zeripath I just tested the latest v1.9.0 and that seems to have fixed my issues. What was taking:

  • Page: 1420ms and Template: 430+ms

Is now taking:

  • Page: 19ms and Template: 4ms

So whatever happened in v1.9 seems to have fixed it. All I did was copy over the old exe with the new one.

Thanks!

@ve3 A fix has already been merged for 1.9, which would help if it has the same root cause.