[Request] Faster speed when loading a lot of files. #2887

Open
opened 2025-11-02 04:52:40 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @ZeroAurora on GitHub (Feb 10, 2019).

  • Gitea version (or commit ref): 1.7.1
  • Git version: 2.11.0
  • Operating system: Raspbian Stretch (Kernel 4.14.79)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: Not relevant

Description

I put 342 items into a git repository and pushed it with SparkleShare which is a sync tool based on git. Then when I opened the repository's web interface, it takes me about 1.5 minutes to load it.
I know it's not gitea's fault, but I hope the it can be faster. (Maybe I need a proper sync tool, not git.)
(Sorry for my bad English.)

Screenshots

screenshot_2019-02-10 pics

Originally created by @ZeroAurora on GitHub (Feb 10, 2019). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.7.1 - Git version: 2.11.0 - Operating system: Raspbian Stretch (Kernel 4.14.79) - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: Not relevant ## Description I put 342 items into a git repository and pushed it with SparkleShare which is a sync tool based on git. Then when I opened the repository's web interface, it takes me about 1.5 minutes to load it. I know it's not gitea's fault, but I hope the it can be faster. (Maybe I need a proper sync tool, not git.) (Sorry for my bad English.) ## Screenshots ![screenshot_2019-02-10 pics](https://user-images.githubusercontent.com/25359455/52536942-da782b00-2d9b-11e9-9e0c-b8be76225592.png) <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/confirmedtype/enhancement labels 2025-11-02 04:52:40 -06:00
Author
Owner

@lunny commented on GitHub (Feb 11, 2019):

According to the page footer, the page spent 88111ms but not 1.5 minutes. Maybe some of your resources loaded from external sites. You can change some config options like OFF_LINE. You can find them on docs.gitea.io

@lunny commented on GitHub (Feb 11, 2019): According to the page footer, the page spent 88111ms but not 1.5 minutes. Maybe some of your resources loaded from external sites. You can change some config options like `OFF_LINE`. You can find them on docs.gitea.io
Author
Owner

@ZeroAurora commented on GitHub (Feb 11, 2019):

@lunny No, I didn't link any other resources from any other sites, expect Gravatar. And loading a gravatar doesn't take a long time.
BTW, "about 1.5 minutes" doesn't means 90000ms

@ZeroAurora commented on GitHub (Feb 11, 2019): @lunny No, I didn't link any other resources from any other sites, expect Gravatar. And loading a gravatar doesn't take a long time. BTW, "about 1.5 minutes" doesn't means 90000ms
Author
Owner

@ZeroAurora commented on GitHub (Feb 11, 2019):

And, according to top, gitea did consume excessive CPU when loading these files.

@ZeroAurora commented on GitHub (Feb 11, 2019): And, according to `top`, gitea did consume excessive CPU when loading these files.
Author
Owner

@stale[bot] commented on GitHub (Apr 12, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Apr 12, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2887