sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Freezes on large projects

Open mpldr opened this issue 4 years ago • 5 comments

Version info

  • OS: Windows 10
  • Build: 2059

Description

Large projects freeze the entire program.

Steps to reproduce

Steps to reproduce the behavior:

  1. Clone the linux kernel
  2. try viewing it's commit graph
  3. wait. a lot.

I am aware that this is an extreme example.

Expected behavior

You should at least be able to switch to a different Project. Being slow when working with the Kernel is probably normal for UI Clients, even more so, when using windows and NTFS as filesystem. Still I think the UI should at least not stop responding at all.

mpldr avatar Aug 20 '21 08:08 mpldr

For me, Sublime Merge (on Windows, corporate laptop) is super smooth in small projects, but in the large one (around 100k files), I have to wait long time for basically all the operations to see their effect.

Git status from command line used to be slow too, taking about the same time as Sublime Merge - around 12-15 seconds (yes, it's that bad). However, since I upgraded to Git 2.33 (now 2.34.1) and enabled file system monitor, command line and other apps became much snappier. Not Sublime Merge. I set Sublime Merge to use the system-provided Git, but it didn't make any noticeable difference.

Can you please look into it?

marcinsmialek avatar Dec 06 '21 10:12 marcinsmialek

@ Sublime Devs Just FYI, I am no longer in a position to reproduce this issue as I have left the company that forced me to use Microsoft Windows.

@marcinsmialek Is Sublime using the new git version? (You can check under Help > Debug Information)

mpldr avatar Dec 06 '21 15:12 mpldr

I've just checked build 2064 Git Version Information 2.34.1.windows.1

core.usebuiltinfsmonitor=true

I've:

  1. Opened that big repo
  2. Waited for load
  3. Closed app
  4. Added a new file at repo root
  5. Waited a bit
  6. Opened Sublime Merge 2064
  7. Started stopwatch when app looked like fully loaded
  8. New file appeared in app 15 seconds later

git status --short --branch takes 1.1s, rarely up to 3s when anti-virus kicks in. Before file system monitor introduced in git 2.33, status used to take around 12 or 15s

marcinsmialek avatar Dec 07 '21 09:12 marcinsmialek

Is there any progress / fix time line / plans?

marcinsmialek avatar Sep 20 '22 11:09 marcinsmialek

Looks like the symptoms in https://github.com/sublimehq/sublime_merge/issues/1890

jnns avatar Jul 05 '24 11:07 jnns