borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.24k stars 744 forks source link

reduce memory consumption of files cache, fixes #5756 #8511

Closed ThomasWaldmann closed 2 weeks ago

ThomasWaldmann commented 2 weeks ago

memory consumption (N = entry.chunks list element count, X = overhead for rest of entry):

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 97.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.75%. Comparing base (1ec66ed) to head (26bb782). Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
src/borg/cache.py 97.50% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8511 +/- ## ========================================== + Coverage 81.43% 81.75% +0.32% ========================================== Files 73 73 Lines 13108 13139 +31 Branches 1924 1926 +2 ========================================== + Hits 10674 10742 +68 + Misses 1769 1740 -29 + Partials 665 657 -8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.