Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow response on repo/search #30661

Open
richardbeumer opened this issue Apr 23, 2024 · 1 comment
Open

Slow response on repo/search #30661

richardbeumer opened this issue Apr 23, 2024 · 1 comment
Labels
performance/speed performance issues with slow downs topic/ui Change the appearance of the Gitea UI type/bug

Comments

@richardbeumer
Copy link

richardbeumer commented Apr 23, 2024

Description

After updating Gitea from version 1.21.5 to 1.21.10 performance of repository search is much slower as before. Repo search was near instant and now taking up around 8 seconds.

We are using Elastic as repo indexer.

Logs show:

2024/04/23 12:40:42 ...eb/routing/logger.go:68:func1() [W] router: slow      GET /repo/search?sort=updated&order=desc&uid=11&team_id=undefined&q=bgt&page=1&limit=15&mode=&archived=false for 10.244.2.12:44360, elapsed 3301.6ms @ repo/repo.go:507(repo.SearchRepo)
2024/04/23 12:40:42 ...eb/routing/logger.go:102:func1() [I] router: completed GET /metrics for 10.244.4.12:50702, 200 OK in 220.7ms @ web/metrics.go:16(web.Metrics)

Screenshots

image

Gitea Version

1.21.10

Can you reproduce the bug on the Gitea demo site?

No

Operating System

kubernetes/container image

Browser Version

Chrome 124 / Firefox 125

@richardbeumer richardbeumer added topic/ui Change the appearance of the Gitea UI type/bug labels Apr 23, 2024
@lunny lunny added the performance/speed performance issues with slow downs label Apr 24, 2024
@lunny
Copy link
Member

lunny commented Apr 29, 2024

The repository name search on dashboard just a database like operation. It's weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance/speed performance issues with slow downs topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

No branches or pull requests

2 participants