fsnotes
fsnotes copied to clipboard
macOS: slow startup with many notes
Description
Discussed in https://github.com/glushchenko/fsnotes/discussions/1233
Originally posted by gingerbeardman October 30, 2021 This is my growing catalogue of vintage software CDs contents.
- 124 txt files
- 485,000 total lines
- UTF-16LE
- ach file has between 7 and 21000 lines
FSNotes handles them "OK", but startup is very slow ~9 seconds
FSNotes on iOS startup is instant, with the same notes folders in iCloud.
To Reproduce
- Extract this zip to a folder in your FSNotes iCloud archive.zip
- Open FSNotes
- Observe startup delay (~9 seconds for me)
zip stats:
- 180 text files
- 348992 lines
- 50.7 MB
Expected behavior
- no delay during startup of FSNotes (iOS has no delay)
FSNotes version
- 5.1.3 (macOS)
- 4.8.5 (iOS)
macOS/iOS version
- 11.6.1 (macOS)
- 14.8.1 (iOS)
Additional context
- startup delay is the same if I rename the .txt files to .md
- startup delay is the same even if I HFS+ compress the files
Hi, Matt!
This is not bug. On iOS version loading optimised, and app started after Inbox loading. On macOS version after all files was loaded and tags scanned.
Interesting!
Performance is disappointing on macOS with this set of files.
I hope disabling tag scanning (I don't use them) could solve it #1243
I will check later, but I think the load optimization is just needed, I planned to do this.
Same here — even after disabling tag scanning and syntax highlighting, FSNotes feels slower than it should. But it still rocks.
How many notes @octos?
How many files at all in the scanned directories, not only notes.