storj/satellite/repair/repairer
Michal Niewrzal 0eaf43120b satellite/repair/checker: optimize processing, part 3
ClassifySegmentPieces uses custom set implementation instead map.

Side note, for custom set implementation I also checked int8 bit set but
it didn't give better performance so I used simpler implementation.

Benchmark results (compared against part 2 optimization change):
name                                       old time/op    new time/op    delta
RemoteSegment/healthy_segment-8    21.7µs ± 8%    15.4µs ±16%  -29.38%  (p=0.008 n=5+5)

name                                       old alloc/op   new alloc/op   delta
RemoteSegment/healthy_segment-8    7.41kB ± 0%    1.87kB ± 0%  -74.83%  (p=0.000 n=5+4)

name                                       old allocs/op  new allocs/op  delta
RemoteSegment/healthy_segment-8       150 ± 0%       130 ± 0%  -13.33%  (p=0.008 n=5+5)

Change-Id: I21feca9ec6ac0a2558ac5ce8894451c54f69e52d
2023-10-16 12:06:16 +00:00
..
ec.go satellite/repair: unify repair logic 2023-09-25 09:42:08 -05:00
repairer_test.go satellite/repair: repair is configurable to work only on included/excluded placements 2023-09-27 14:54:06 +00:00
repairer.go satellite/repair: repair is configurable to work only on included/excluded placements 2023-09-27 14:54:06 +00:00
segments_test.go satellite/repair: repair is configurable to work only on included/excluded placements 2023-09-27 14:54:06 +00:00
segments.go satellite/repair/checker: optimize processing, part 3 2023-10-16 12:06:16 +00:00
stats.go satellite/repair: protect concurrent access to statsCollector 2023-10-13 09:12:00 -05:00