1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 00:37:28 +00:00
restic/internal/repository
greatroar ab2b7d7f9a Decrease allocation rate in internal/pack
internal/repository benchmark results:

name             old time/op    new time/op    delta
PackerManager-8     179ms ± 1%     181ms ± 1%   +0.78%  (p=0.009 n=10+10)

name             old speed      new speed      delta
PackerManager-8   294MB/s ± 1%   292MB/s ± 1%   -0.77%  (p=0.009 n=10+10)

name             old alloc/op   new alloc/op   delta
PackerManager-8    91.3kB ± 0%    72.2kB ± 0%  -20.92%  (p=0.000 n=9+7)

name             old allocs/op  new allocs/op  delta
PackerManager-8     1.38k ± 0%     0.76k ± 0%  -45.20%  (p=0.000 n=10+7)
2020-11-15 16:51:47 +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.go Add Masterindex.Save(); Add Index.Packs() 2020-11-06 20:23:30 +01:00
index_test.go Fix setting of ID in DecodeIndex 2020-10-17 09:12:58 +02:00
indexmap.go Chaining hash table for repository.Index 2020-07-19 13:58:22 +02:00
indexmap_test.go Chaining hash table for repository.Index 2020-07-19 13:58:22 +02:00
key.go init: pass proper context to master key generation 2020-10-09 22:37:56 +02:00
master_index.go Replace restic.Progress with new progress.Counter 2020-11-09 12:12:35 +01:00
master_index_test.go Add Masterindex.Save(); Add Index.Packs() 2020-11-06 20:23:30 +01:00
packer_manager.go Decrease allocation rate in internal/pack 2020-11-15 16:51:47 +01:00
packer_manager_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repack.go Stop Counters where they're constructed and started 2020-11-09 13:03:31 +01:00
repack_test.go Use a non-constant seed 2020-11-05 10:31:49 +01:00
repository.go Use in-memory index to rebuild index in prune 2020-11-06 20:23:30 +01:00
repository_internal_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repository_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
testing.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
worker_group.go defer close(ch) outside repository.RunWorkers 2020-10-14 15:50:16 +02:00