1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-22 07:43:03 +00:00
restic/internal/checker
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 Moves files 2017-07-23 14:19:13 +02:00
checker.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
checker_test.go add option for setting min pack size 2022-08-05 23:47:12 +02:00
testing.go copy: Load snapshots before indexes 2022-04-09 12:27:25 +02:00