-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Performance improvement (suggestion) #942
Comments
Could you explain in what way it seems slower to you? |
@Fabio286 Well, on MacOS (arm M1), just launching the app takes close to a minute sometimes (not measured, but felt like over 30 sec). On Ubuntu (on toaster laptop) is quicker, but still far from native apps (about 6-7 seconds until GUI is clickable). SSH connection takes about 3-4 seconds and sometimes (rarely) fails (still can't guess at what point it decides to fail) while other tools do it in less than a second (both on MacOS and Ubuntu). Those are the ones I usually use, so those are on top of my head, but perhaps there there are other cases. And i'm certain earlier versions were quicker, because it was the reason i stuck to using Antares (apart from the pretty UI). And just earlier today because of the sorting issue i decided to switch to another tool and the speed difference in the same operation was huge => one did each operation in fraction of a second, while Antares took few seconds for every operation. |
Can you tell me if you notice the slow sorting only when using ssh or also when you connect directly? |
Here are some numbers from Antares on Ubuntu (just noticed it had this): Connecting to SSH took about 4s. Loading small table data (<200 results) over SSH : 11-18s (seems it's different every time) Loading same table with more data locally: pretty fast Sorting seems to show time it took only for over 1000 results and not show it if under 1000 and seem to be faster in ASC order, but slower in DESC order. In current test it took between 0.2 and 1 seconds on SSH (on 40k row table) and 3 times less locally (on a 150k rows table). But i think this varies, because it's fast on some (smaller) tables and faster on other (bigger) tables (sorting on the same column). But in general local sorting is much faster, yes. PS: i switched the tool because it could sort, not because sorting specifically was faster. |
At this point I will start doing some testing to understand the reasons behind this slowness in ssh. |
Have you considered tauri framework instead? |
To consider Tauri i have to learn Rust and rewrite half of the application with it. |
I think the rust part is only needed if you want to write some backend logic in it otherwise it can act like a wrapper just like electron. Am I missing something? |
All the part related to connections and queries to DBs is handled by a backend. |
this OOT but take a look at https://dioxuslabs.com/ |
ubuntu snap launching in 2secs 16gb RAM ,11th Gen Intel® Core™ i5-1135G7 × 8 laptop |
In earliest versions the app was pretty snappy in all operations. However with new releases it became progressively slower (both to launch and to execute common operations).
I understand that a lot has changed and with new functionality it's expected side effect, however it's becoming noticeably slower, so this is more of a suggestion to optimize the performance at some point.
The text was updated successfully, but these errors were encountered: