Tagging is extremely slow

Adding or deleting of Tags is extremly slow.

The behavior is the same on all my installations (Windows 10 Pro).
The behavior is the same with or without activated plugins and has existed for a few versions.
When I use an installation with few tags and notes, tagging is relatively fast.

Joplin 1.5.7 (prod, win32)

Client ID: fea0ba97613b45d8b1c8ee33e9f08413
Sync Version: 2
Profile Version: 34
Keychain Supported: Yes

Revision: f1bbcea64 (master)
Sync status (synced items / total items)
Note: 5294/5294
Folder: 47/47
Resource: 8973/8973
Tag: 1692/1692
NoteTag: 18234/18234
MasterKey: 0/0
Revision: 1204/1205
Total: 35444/35445

log.txt (34.1 KB)
console.txt (162.8 KB)

I just compiled the version 3.0.8 from the sources and adding tags is extremely fast, I added 4 tags that hadn't even been in the db before to the note and it was like a blink of an eye! Good job!