sourcegit icon indicating copy to clipboard operation
sourcegit copied to clipboard

question: sourcegit responds slowly

Open StrandingNeko opened this issue 4 months ago • 16 comments

Have you noticed that SourceGit responds slowly? It takes me several seconds to switch between repository tabs.

StrandingNeko avatar Sep 12 '25 07:09 StrandingNeko

Can not re-produce this issue.

love-linger avatar Sep 17 '25 13:09 love-linger

I encountered the same issue on my Deepin V25. After SourceGit has been open for several hours, switching between repository tabs or toggling between the history panel and the local changes panel becomes extremely slow.

gadfly3173 avatar Sep 19 '25 03:09 gadfly3173

I have also experienced this. As @gadfly3173 said, only after running for several hours. If I restart the app it resolves.

joerb avatar Sep 19 '25 04:09 joerb

After SourceGit has been open for several hours, switching between repository tabs or toggling between the history panel and the local changes panel becomes extremely slow.

It sounds very strange. This project uses the MVVM design pattern. Switching tabs only changes ViewModels.Launcher.ActivePage to the specified page data, and the front-end display is automatically adapted through bindings. This operation does not involve additional calculations or the execution of other git commands...

love-linger avatar Sep 19 '25 04:09 love-linger

Same, but reopen soucegit cannot reslove the response slow problem on my PC.

StrandingNeko avatar Sep 19 '25 04:09 StrandingNeko

Does this issue appear in older version like 2025.33 or 2025.32?

love-linger avatar Sep 19 '25 07:09 love-linger

BTW. Are you using devices with very low configurations? For example, what is the memory usage, and are you using HDD disk instead of SSD? I found a similar issue in AvaloniaUI's Discussions, see: https://github.com/AvaloniaUI/Avalonia/discussions/16858

love-linger avatar Sep 19 '25 07:09 love-linger

In my PC, this issue appear in the recent version like 2025.34 or 33 or 32. My device is with a medium configuration:

  • AMD Ryzen™ 7 8845HS w/ Radeon™ 780M Graphics × 16
  • 48.0 GiB+1 TB SSD
  • Ubuntu 24.04

Therefore, I think the configurations is fine.

StrandingNeko avatar Sep 19 '25 07:09 StrandingNeko

Similarly for me it occurred in .34 and .33 on my laptop. Configuration:

  • AMD ryzen 9 AI HX 370
  • 64gb ram
  • 2Tb NVME SSD
  • Ubuntu 24.04 I typically have 3+ workspaces active with 3+ repositories open in each one.

joerb avatar Sep 19 '25 21:09 joerb

  • i3-7350k
  • 48GB RAM
  • 512GB NVME SSD (FANXIANG S500pro)
  • Deepin V25 X11

It only appeared on my Linux machine.

gadfly3173 avatar Sep 20 '25 09:09 gadfly3173

I also tested on my windows machine with v2025.34 (Ryzen 5 7600X, 32gb RAM, 2TB NVME) and could not reproduce the issue.

joerb avatar Sep 20 '25 23:09 joerb

It seems this issue happens only on linux/Ubuntu machine.

StrandingNeko avatar Sep 22 '25 02:09 StrandingNeko

I've changed my computer and currently don't have a Linux testing environment. Hope someone can help...

love-linger avatar Sep 22 '25 02:09 love-linger

I've changed my computer and currently don't have a Linux testing environment. Hope someone can help...

Hi, maybe I can provide my PC to set up a remote test environment... But maybe you should tell me how to depoly the remote environment.

StrandingNeko avatar Sep 26 '25 09:09 StrandingNeko

Performance is improved on my side on Linux when using the native window frame

Image

cdammanintopix avatar Nov 03 '25 18:11 cdammanintopix

In recent version, this issue seems to be fixed, I will continue to follow up on this issue.

StrandingNeko avatar Nov 25 '25 03:11 StrandingNeko