-
Notifications
You must be signed in to change notification settings - Fork 97
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
Opening the Review tab is very slow since its redesign #433
Comments
Oh wow a project with ~85 000 strings 😮 I did not do any load test on the UI, I will try to tackle this soon to improve the performance 😄 |
This is the community localization page for my project Tiny Life (don't mean to do some big advertising thing, but it seems like you're interested in the context of the project!!) :) I really love using Accent, it's by far the best open source localization software that isn't super bloated & high memory usage (imo) ❤️ |
Hi! Are there any updates on this? This issue makes it very difficult to work with the Review tab, unfortunately |
I made some improvement in the SQL query in v1.23.5 What can of database do you use to run Accent? |
I use Postgres for Accent at the moment! I'll try out the new version and let you know how it goes :) |
Unfortunately, the Review tab is still very slow, even on v1.23.5. Here's another log of a slow query after upgrading Accent:
|
Since the redesigned Review tab (where more than two columns can be displayed), which I think was a part of v1.20, opening the tab is incredibly slow, at least using Postgres 15 on my machine. It also seems as though, the higher the percentage of reviewed (vs. unreviewed) strings there are in a language, the longer the Review tab takes to load if that language is selected.
This wasn't the case at all before the redesign, where the Review tab loaded pretty much as quickly as all other tabs in the project.
To check what was causing this issue, I turned on the logging option in Postgres that displays slow queries, and the query that (I assume) grabs all the information for the Review tab takes over 30 seconds on average in one of my projects. Here's a typical log of a slow query:
Additionally, here are the stats for the project that the query is made from, if those are of any use for fixing this issue!
I really love the redesigned Review tab, so I hope there's a simple fix for this issue. Either way, thanks so much for all your hard work on Accent!! ❤️
The text was updated successfully, but these errors were encountered: