1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-02-01 20:12:44 +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
doc.go gofmt all files 2022-08-19 19:12:26 +02:00
fuzz_test.go
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
indexmap_test.go
key.go
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
packer_manager_test.go
packer_uploader.go
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