You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the implementation I wanted to compare with restic with respect of the find results and also with respect to performance.
TL;DR: restic is incredibly slow..
For my repo on local disc (with many - mostly identical or similar - snapshots, to admit), I got:
restic:
I think the reason is that restic processes all snapshots one-by-one without using any results obtained by previous results. In rustic I remember the result list (even an empty one) for each (tree_id/path) pair which has been processed and don't re-search if this re-appears in another snapshot.
IMO the same optimization can be also trivially implemented in restic and would improve find-performance in many cases a lot.
What are you trying to do? What problem would this solve?
find efficiently files within the repository
The text was updated successfully, but these errors were encountered:
In rustic I remember the result list (even an empty one) for each (tree_id/path) pair which has been processed
Does that mean that if /folder/a matches some filter, then that match is also propagated up to /folder? From what I understood /folder won't be processed again if it exactly matches that from a previous snapshot; thus a match also has to be propagated to all parent folders.
Does that mean that if /folder/a matches some filter, then that match is also propagated up to /folder? From what I understood /folder won't be processed again if it exactly matches that from a previous snapshot; thus a match also has to be propagated to all parent folders.
Output of
restic version
restic 0.16.4 compiled with go1.21.6 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
I re-implemented the
restic find
command for rustic, see rustic-rs/rustic#1136.After the implementation I wanted to compare with restic with respect of the find results and also with respect to performance.
TL;DR: restic is incredibly slow..
For my repo on local disc (with many - mostly identical or similar - snapshots, to admit), I got:
restic:
rustic:
I think the reason is that restic processes all snapshots one-by-one without using any results obtained by previous results. In rustic I remember the result list (even an empty one) for each (tree_id/path) pair which has been processed and don't re-search if this re-appears in another snapshot.
IMO the same optimization can be also trivially implemented in restic and would improve
find
-performance in many cases a lot.What are you trying to do? What problem would this solve?
find efficiently files within the repository
The text was updated successfully, but these errors were encountered: