2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 14:17:42 +00:00
restic/internal
greatroar e5d597fd22 bloblru: Upgrade to hashicorp/golang-lru/v2
The new genericized LRU cache no longer needs to have the IDs separately
allocated:

name   old time/op    new time/op    delta
Add-8     494ns ± 2%     388ns ± 2%  -21.46%  (p=0.000 n=10+9)

name   old alloc/op   new alloc/op   delta
Add-8      176B ± 0%      152B ± 0%  -13.64%  (p=0.000 n=10+10)

name   old allocs/op  new allocs/op  delta
Add-8      5.00 ± 0%      3.00 ± 0%  -40.00%  (p=0.000 n=10+10)
2022-11-27 17:18:13 +01:00
..
archiver Merge pull request #2875 from fgma/issue2699 2022-11-12 20:06:45 +01:00
backend rest: remove workaround for content-length handling bug 2022-11-27 13:18:44 +01:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache cache: Call interface method once 2022-10-21 14:32:46 +02:00
checker restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
dump repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs issue2699: restore symlinks on windows when run as admin user 2022-10-29 21:19:33 +02:00
fuse mount: switch to anacrolix fork of bazil/fuse 2022-11-12 19:22:31 +01:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
index index: Compact data structure for Index.EachByPack 2022-10-29 23:09:17 +02:00
migrations backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
options Don't crash if SecretString is uninitialized 2022-07-02 19:44:28 +02:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
restic Merge pull request #4022 from MichaelEischer/race-checker 2022-11-26 12:13:50 +01:00
restorer restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
selfupdate all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
test all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui Merge pull request #3993 from MichaelEischer/backup-json-full-snapshot-id 2022-11-12 20:42:35 +01:00
walker rewrite: Fail if a tree contains an unknown field 2022-11-12 19:55:22 +01:00