restic/internal
Matt Armstrong 0372c7ef04 Improve the ETA displayed during backup
The ETA restic displays was based on a rate computed across the entire
backup operation. Often restic can progress at uneven rates. In the worst
case, restic progresses over most of the backup at a very high rate and
then finds new data to back up. The displayed ETA is then unrealistic and
never adapts.

Restic now estimates the transfer rate based on a sliding window, with the
goal of adapting to observed changes in rate. To avoid wild changes in the
estimate, several heuristics are used to keep the sliding window wide
enough to be relatively stable.
2023-06-08 20:05:56 +02:00
..
archiver test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
backend backend: Fix test compilation with Go 1.18 and 1.19 2023-06-07 22:31:15 +02:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache Merge pull request #4343 from greatroar/cache 2023-06-02 22:41:17 +02:00
checker check: Fix flaky TestCheckerModifiedData 2023-05-01 17:18:19 +02:00
crypto Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
debug Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
dump dump: Report filename with tar.ErrFieldTooLong 2023-04-27 11:45:41 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
fuse Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
migrations Use _ as parameter name for unused Context 2023-05-18 21:15:45 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
restic backend: add standardized Config.ApplyEnvironment 2023-06-07 22:31:15 +02:00
restorer Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test test: use standard logging methods from testing for the test helpers 2023-05-26 19:34:57 +02:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui Improve the ETA displayed during backup 2023-06-08 20:05:56 +02:00
walker Use _ as parameter name for unused Context 2023-05-18 21:15:45 +02:00