1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 16:26:11 +00:00
restic/internal/repository
Michael Eischer 1ebd57247a repository: optimize MasterIndex.Each
Sending data through a channel at very high frequency is extremely
inefficient. Thus use simple callbacks instead of channels.

> name                old time/op  new time/op  delta
> MasterIndexEach-16   6.68s ±24%   0.96s ± 2%  -85.64%  (p=0.008 n=5+5)
2022-09-24 12:21:59 +02:00
..
testdata internal/repository: Fix LoadBlob + fuzz test 2022-06-06 17:02:28 +02:00
doc.go gofmt all files 2022-08-19 19:12:26 +02:00
fuzz_test.go repository: Rework blob saving to use an async pack uploader 2022-07-02 22:42:34 +02:00
index.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
index_parallel.go repository: Reduce buffer reallocations in ForAllIndexes 2022-08-19 21:13:40 +02:00
index_parallel_test.go
index_test.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
indexmap.go repository: Re-tune indexmap allocation strategy 2022-05-11 21:22:14 +02:00
indexmap_test.go repository: implement pack compression 2022-04-30 11:34:10 +02:00
key.go crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
master_index.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
master_index_test.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
packer_manager.go repository: prevent header overfill 2022-08-05 23:47:12 +02:00
packer_manager_test.go add option for setting min pack size 2022-08-05 23:47:12 +02:00
packer_uploader.go repository: Rework blob saving to use an async pack uploader 2022-07-02 22:42:34 +02:00
repack.go repository: cleanup copy connection count check 2022-08-28 11:40:56 +02:00
repack_test.go repository: don't hang when copying using a single connection 2022-08-28 11:40:31 +02:00
repository.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository_internal_test.go
repository_test.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
testing.go add option for setting min pack size 2022-08-05 23:47:12 +02:00