Synchronization issues: sync interval timer is being ignored, and sync causes app unresponsiveness

Operating system

Windows

Joplin version

3.7.10

Desktop version info

Joplin 3.7.10 (prod, win32)

Device: win32, 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
Client ID: a504afc6d2a6496b99a0931c22649537
Sync Version: 3
Profile Version: 53
Keychain Supported: Yes
Alternative instance ID: -
Sync target: Dropbox
Editor: Rich Text

Revision: 0d5d4c4

Backup: 1.5.1
Combine notes: 1.2.3
Favorites: 1.3.2
Freehand Drawing: 4.3.0
Note list (Preview): 1.1.0
Test Plugin: 1.0.0

Sync target

Dropbox

Editor

Rich Text Editor

What issue do you have?

This is sort of a two point report, but they are semi-related.
My issue is with the triggering of the Sync interval. I have my Sync set to happen every 10 minutes. However it seems after I do anything (like move a note, tag it, or update a note and close it) the sync will kick off regardless.

Having it aggressively sync like that is nice, even though it's technically ignoring the interval setting. However the problem arises in that everytime Joplin kicks into sync, the application begins to hitch, lag, and become unresponsive in various brief moments.

Something that wouldn't be that big of a deal if it happened say, every 10 minutes. But it happening after every edit of a note, say when you're going through and editing/moving/cleaning-up a bunch of notes, it becomes pretty insufferable and makes the desktop app feel very clunky as a result.

Right now I'm primarily assuming it's the sync because I've noticed whenever Joplin begins becoming unresponsive, a sync is occurring/finishing.

I haven't attempted to disable sync yet to see if that improves anything (I'm still getting acquainted with Joplin so I don't know if setting Sync to None and back to Dropbox would somehow make it want to re-sync my entire database again, a full day process)

If the sync after every note edit is a desired behavior, it does feel like it should be an optional setting that could be disabled in Settings, as it is actively hindering my work and frustrating to fight with the responsiveness lag it causes.

If you disconnect your internet and then make the same kind of changes in Joplin, does it still lag? If it does not lag, then that would indeed point to the sync being the cause

Great idea. I disconnected from the internet and proceeded to continue tagging, moving, editing notes for about 5 minutes, and the random bouts of unresponsiveness definitely cleared up while being offline. That certainly seems to point to the sync containing the cause.

Does the issue occur during sync when changing the text on 1 or 2 notes, or only when making bulk actions?

Also, any chance you could open the performance tab of Windows task manager and observe the peak ram usage of Joplin while the lag occurs? And also specify the base ram usage when Joplin is idle.