2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 14:56:29 +00:00
restic/internal
greatroar 8526cc6647 Remove sync.Pool from internal/repository
The pool was used improperly, causing more allocations to be
performed than without it.

name              old time/op    new time/op    delta
SaveAndEncrypt-8    36.8ms ± 2%    36.9ms ± 2%    ~     (p=0.218 n=10+10)

name              old speed      new speed      delta
SaveAndEncrypt-8   114MB/s ± 2%   114MB/s ± 2%    ~     (p=0.218 n=10+10)

name              old alloc/op   new alloc/op   delta
SaveAndEncrypt-8    21.1MB ± 0%    21.0MB ± 0%  -0.44%  (p=0.000 n=10+10)

name              old allocs/op  new allocs/op  delta
SaveAndEncrypt-8      79.0 ± 0%      77.0 ± 0%  -2.53%  (p=0.000 n=10+10)
2020-02-29 17:54:46 +01:00
..
archiver archiver: Fix flaky TestArchiverAbortEarlyOnError 2020-02-14 23:16:13 +01:00
backend Remove all workarounds for Go < 1.11 2020-02-26 20:35:13 +01:00
cache Add support for $RESTIC_CACHE_DIR 2019-09-26 15:59:56 -07:00
checker remove unnecessary error return 2020-01-27 18:28:21 +03:00
crypto crypto: Rework Seal/Open to use sliceForAppend 2017-11-01 10:30:40 +01:00
debug Remove build tag release 2018-10-11 19:40:38 +02:00
errors backup: Improve error message for invalid pattern 2018-10-03 11:12:51 +02:00
filter filter: Allow double wildcard in ChildMatch 2018-06-09 23:18:13 +02:00
fs simplified string sorting by using a more suitable function 2019-06-30 23:20:32 +03:00
fuse Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
hashing Moves files 2017-07-23 14:19:13 +02:00
index index.New: Test various error conditions 2018-10-28 14:02:31 +01:00
limiter rclone: Respect bandwith limits 2018-05-22 20:48:17 +02:00
migrations clean up some errors from 'go vet ./...' 2018-09-05 08:04:55 -04:00
mock mock: Remove unused repository type 2019-04-13 13:38:39 +02:00
options improved slice copying 2019-06-30 23:56:36 +03:00
pack backend: Improve Save() 2018-03-03 15:49:44 +01:00
repository Remove sync.Pool from internal/repository 2020-02-29 17:54:46 +01:00
restic internal/restic: fix dropped test error 2020-02-12 13:32:45 -08:00
restorer restorer: Allow writing target file blobs out of order 2020-02-26 16:14:45 +01:00
selfupdate self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
test Remove all workarounds for Go < 1.11 2020-02-26 20:35:13 +01:00
textfile Add textfile 2018-05-01 14:38:59 +02:00
ui Better name for jsonstatus package 2020-02-13 21:14:20 +01:00
walker walk: Pass parent tree ID to WalkFunc 2018-08-19 23:28:04 +02:00