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

A project with 1000 components is very slow #5513

Closed
tomkolp opened this issue Feb 24, 2021 · 4 comments · Fixed by #5539
Closed

A project with 1000 components is very slow #5513

tomkolp opened this issue Feb 24, 2021 · 4 comments · Fixed by #5539
Assignees
Labels
enhancement Adding or requesting a new feature.
Milestone

Comments

@tomkolp
Copy link
Contributor

tomkolp commented Feb 24, 2021

In a project with a large number of components, individual segments load tragically. My project has about 1000 components, it has a lot to do with speed in all components. For comparison, I have created a new project with the same files and it loads quickly. Unfortunately, I cannot afford many projects because propagation does not work between projects.
For speed comparison, I put the same files in a test project, one is shared from a huge project.
Link

@tomkolp tomkolp added the question This is more a question for the support than an issue. label Feb 24, 2021
@github-actions
Copy link

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!

@nijel nijel added enhancement Adding or requesting a new feature. and removed question This is more a question for the support than an issue. labels Feb 25, 2021
@nijel
Copy link
Member

nijel commented Feb 25, 2021

We definitely need to re-introduce pagination here to avoid loading all the components in such cases.

@nijel nijel added this to the 4.5.2 milestone Feb 27, 2021
nijel added a commit that referenced this issue Feb 27, 2021
This heavily reduces amount of cache operations per project.

See #5513
nijel added a commit to nijel/weblate that referenced this issue Feb 27, 2021
@nijel nijel self-assigned this Feb 28, 2021
@nijel nijel modified the milestones: 4.5.2, 4.5.1 Feb 28, 2021
@tomkolp
Copy link
Contributor Author

tomkolp commented Feb 28, 2021

I will test how the new docker image will be available.

nijel added a commit to nijel/weblate that referenced this issue Feb 28, 2021
In case there is 1k+ components in a projects, the generated page is
huge and takes long to load and render.

This partially reverts 2cddd81 from
pull request WeblateOrg#4349, ordering as requested by WeblateOrg#3011 is still to be
addressed.

Fixes WeblateOrg#5513
nijel added a commit to nijel/weblate that referenced this issue Feb 28, 2021
The code is quite generic, but it is used on dashboard and project listing.

Issue WeblateOrg#5513
Issue WeblateOrg#3011
nijel added a commit that referenced this issue Feb 28, 2021
In case there is 1k+ components in a projects, the generated page is
huge and takes long to load and render.

This partially reverts 2cddd81 from
pull request #4349, ordering as requested by #3011 is still to be
addressed.

Fixes #5513
nijel added a commit that referenced this issue Feb 28, 2021
The code is quite generic, but it is used on dashboard and project listing.

Issue #5513
Issue #3011
@github-actions
Copy link

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

nijel pushed a commit that referenced this issue Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants