You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project has a huge amount of components, about 5000. Each component has at least 4 languages in it. When I go to the project page that has a list of all components ( https://example.com/projects/project-name/ ), Weblate separates them into pages, 100 of components each, but it still loads kinda slow, for about 8 seconds. This makes navigating between pages a bit of a pain and it also heavily loads the CPU. Also I noticed that decreasing page size via URL doesn't change load speed, soo it seems like Weblate loads all of the components at every page instead of only 100 or whatever page size is.
Using component lists partially mitigates this issue, but it also has a problem: it doesn't separate components into pages at all, so for some big lists it naturally takes a while to load (should I make a separate issue about it?).
I host Weblate on my PC but it's not exactly a weak one: Intel Core i9-9900K (8 @ 3.6GHz with HT & up to 5GHz) with 8Gb RAM given to Weblate container.
Platform: Linux 5.10.60.1-microsoft-standard-WSL2 (x86_64)
Weblate deploy checks
System check identified some issues:
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.10.1/admin/install.html#collecting-errors
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.10.1/admin/backup.html
System check identified 2 issues (1 silenced).
Additional context
I changed the number of workers in docker-compose.override.yml to the following:
WEBLATE_WORKERS: 8
WEB_WORKERS: 8
The text was updated successfully, but these errors were encountered:
Describe the issue
My project has a huge amount of components, about 5000. Each component has at least 4 languages in it. When I go to the project page that has a list of all components ( https://example.com/projects/project-name/ ), Weblate separates them into pages, 100 of components each, but it still loads kinda slow, for about 8 seconds. This makes navigating between pages a bit of a pain and it also heavily loads the CPU. Also I noticed that decreasing page size via URL doesn't change load speed, soo it seems like Weblate loads all of the components at every page instead of only 100 or whatever page size is.
Using component lists partially mitigates this issue, but it also has a problem: it doesn't separate components into pages at all, so for some big lists it naturally takes a while to load (should I make a separate issue about it?).
I host Weblate on my PC but it's not exactly a weak one: Intel Core i9-9900K (8 @ 3.6GHz with HT & up to 5GHz) with 8Gb RAM given to Weblate container.
I already tried
Steps to reproduce the behavior
My project is public so you can see it for yourself:
It takes about 8 seconds for both of them to load.
Expected behavior
Weblate should load only the number of components defined by page size, not all of the for every page.
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
Weblate deploy checks
Additional context
I changed the number of workers in
docker-compose.override.yml
to the following:The text was updated successfully, but these errors were encountered: