I’ve been trying out restic and Duplicacy this weekend, and one thing I noticed is that restic is much slower when it comes to scanning for changes. Initially the problem was due to Window’s built in antivirus protection, but even with that disabled scanning is slow in comparison.
Using Process Monitor I noticed that running Duplicacy on a directory containing about 100,000 files resulted in 35,260 events in Process Monitor, most of them of the type IRP_MJ_DIRECTORY_CONTROL on directories, requesting info about 30 files per operation. restic on the other hand generated 984,668 events (almost 30 times as many) for the same files, with operations on every single file.
I don’t know Go and have no knowledge of restic’s source code so I apologize if this doesn’t make any sense, but would it be possible to speed up scans by changing the way it looks for changes, similar to how Duplicacy does it?