restic/internal
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
..
2020-01-27 18:28:21 +03:00
2020-04-18 17:39:06 +02:00
2018-10-11 19:40:38 +02:00
2020-05-12 11:30:41 +02:00
2020-04-29 10:57:01 +02:00
2018-05-22 20:48:17 +02:00
2019-04-13 13:38:39 +02:00
2019-06-30 23:56:36 +03:00
2018-05-01 14:38:59 +02:00