2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00
restic/internal/ui
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
..
backup Improve the ETA displayed during backup 2023-06-08 20:05:56 +02:00
progress Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
restore Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
signals add go:build headers everywhere 2022-03-28 22:23:47 +02:00
table Don't shadow builtins 2023-05-18 21:15:45 +02:00
termstatus Merge pull request #4339 from greatroar/ioctl 2023-05-26 19:34:14 +02:00
format_test.go ui: Fix FormatBytes at exactly 1024 time a unit 2022-10-31 18:39:28 +01:00
format.go ui: Fix FormatBytes at exactly 1024 time a unit 2022-10-31 18:39:28 +01:00
message.go Use new archiver code for backup 2018-04-28 22:08:11 +02:00
stdio_wrapper_test.go Simplify ui.StdioWrapper.Write 2020-10-17 20:30:46 +02:00
stdio_wrapper.go Simplify ui.StdioWrapper.Write 2020-10-17 20:30:46 +02:00