2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/repository
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
..
testdata Moves files 2017-07-23 14:19:13 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
index_test.go internal/repository: fix dropped test error 2020-02-12 13:33:54 -08:00
index.go Reuse buffer in worker functions 2019-04-13 13:38:39 +02:00
key.go Allow multiple retries for interactive password input 2019-06-13 20:11:02 +08:00
master_index_test.go repository/master_index: Optimize Index.Lookup() 2018-01-23 22:25:56 -05:00
master_index.go debug: Remove manual Str() call Log() 2018-01-25 20:49:41 +01:00
packer_manager_test.go Correct ineffassign 2018-10-19 16:58:14 -04:00
packer_manager.go backend: Improve Save() 2018-03-03 15:49:44 +01:00
repack_test.go Merge pull request #1549 from MJDSys/more_index_lookup_avoids 2018-01-24 20:53:30 +01:00
repack.go DownloadAndHash: Check error returned by Load() 2018-10-28 21:28:56 +01:00
repository_test.go Remove sync.Pool from internal/repository 2020-02-29 17:54:46 +01:00
repository.go Remove sync.Pool from internal/repository 2020-02-29 17:54:46 +01:00
testing.go Add key hinting (#2097) 2018-11-25 09:13:18 -05:00
worker_group.go simpler error return 2020-01-27 18:41:46 +03:00