2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00
restic/internal/repository
greatroar 02bec13ef2 Fix repository_test.BenchmarkSaveAndEncrypt
The benchmark was actually testing the speed of index lookups.

name              old time/op    new time/op        delta
SaveAndEncrypt-8     101ns ± 2%    31505824ns ± 1%    +31311591.31%  (p=0.000 n=10+10)

name              old speed      new speed          delta
SaveAndEncrypt-8  41.7TB/s ± 2%       0.0TB/s ± 1%         -100.00%  (p=0.000 n=10+10)

name              old alloc/op   new alloc/op       delta
SaveAndEncrypt-8     1.00B ± 0%  20989508.40B ± 0%  +2098950740.00%  (p=0.000 n=10+10)

name              old allocs/op  new allocs/op      delta
SaveAndEncrypt-8      0.00             123.00 ± 0%            +Inf%  (p=0.000 n=10+9)

(The actual speed is ca. 131MiB/s.)
2020-07-05 17:41:42 +02: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_test.go add changelog, benchmark, memory calculation 2020-06-14 07:50:15 +02:00
index.go don't save duplicate packIDs when using internal/repository/Index.Store 2020-06-14 07:56:24 +02:00
key.go Allow multiple retries for interactive password input 2019-06-13 20:11:02 +08:00
master_index_test.go repository/master_index: Optimize Index.Lookup() 2018-01-23 22:25:56 -05:00
master_index.go simplify index code 2020-06-14 07:50:19 +02:00
packer_manager_test.go Improve PackerManager benchmark 2020-03-05 22:30:03 +01:00
packer_manager.go Merge pull request #2709 from greatroar/minio-sha256 2020-06-12 23:32:58 +02:00
repack_test.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
repack.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
repository_test.go Fix repository_test.BenchmarkSaveAndEncrypt 2020-07-05 17:41:42 +02:00
repository.go Merge pull request #2709 from greatroar/minio-sha256 2020-06-12 23:32:58 +02:00
testing.go Remove remnant of Go 1.9 compatibility code from tests 2020-02-26 22:23:38 +01:00
worker_group.go simpler error return 2020-01-27 18:41:46 +03:00