oniony / TMSU

TMSU lets you tags your files and then access them through a nifty virtual filesystem from any other application.
Other
2.03k stars 118 forks source link

VFS can be very slow #264

Open dokutan opened 1 year ago

dokutan commented 1 year ago

I have a database with ~2100 tags, 0 values and ~22000 files, and the VFS is too slow to be usable: ls mnt/tags/example takes ~35 seconds to complete.

I narrowed the problem down to the vfs.tagValueNamesForFiles function, called from openTaggedEntryDir. #263 contains a workaround for this problem.