restic/cmd/restic
greatroar be5a0ff59f Centralize buffer allocation and size checking in Repository.LoadBlob
Benchmark results for internal/repository:

name              old time/op    new time/op    delta
LoadTree-8           479µs ± 2%     478µs ± 1%   ~     (p=0.780 n=10+9)
LoadBlob-8          11.6ms ± 2%    11.6ms ± 1%   ~     (p=0.631 n=10+10)
LoadAndDecrypt-8    13.2ms ± 2%    13.3ms ± 3%   ~     (p=0.631 n=10+10)

name              old alloc/op   new alloc/op   delta
LoadTree-8          41.2kB ± 0%    41.2kB ± 0%   ~     (all equal)
LoadBlob-8          2.28kB ± 0%    2.28kB ± 0%   ~     (all equal)
LoadAndDecrypt-8    2.10MB ± 0%    2.10MB ± 0%   ~     (all equal)

name              old allocs/op  new allocs/op  delta
LoadTree-8             652 ± 0%       652 ± 0%   ~     (all equal)
LoadBlob-8            24.0 ± 0%      24.0 ± 0%   ~     (all equal)
LoadAndDecrypt-8      30.0 ± 0%      30.0 ± 0%   ~     (all equal)

name              old speed      new speed      delta
LoadBlob-8        86.2MB/s ± 2%  86.4MB/s ± 1%   ~     (p=0.594 n=10+10)
LoadAndDecrypt-8  75.7MB/s ± 2%  75.4MB/s ± 3%   ~     (p=0.617 n=10+10)
2020-04-23 10:04:20 +02:00
..
testdata Reduce dataset for integration tests 2018-03-11 21:07:47 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
acl.go Restore whole folder to sdtout as tar 2019-04-22 20:44:33 +02:00
acl_test.go Restore whole folder to sdtout as tar 2019-04-22 20:44:33 +02:00
cleanup.go Make all signal.Notify channels buffered 2020-03-12 20:59:39 +01:00
cmd_backup.go backup/global: Use proper name for command line argument parameters 2020-04-03 19:49:04 +02:00
cmd_cache.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_cat.go Centralize buffer allocation and size checking in Repository.LoadBlob 2020-04-23 10:04:20 +02:00
cmd_check.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_debug.go debug: don't load the repository index 2020-04-04 00:01:01 +02:00
cmd_diff.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_dump.go Centralize buffer allocation and size checking in Repository.LoadBlob 2020-04-23 10:04:20 +02:00
cmd_find.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_forget.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_generate.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_init.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_key.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_list.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_ls.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_migrate.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_mount.go Remove broken --allow-root from restic mount 2020-03-17 23:35:06 +01:00
cmd_options.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_prune.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_rebuild_index.go rebuild_index: Report invalid packs that were ignored 2020-04-02 22:38:31 +02:00
cmd_recover.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_restore.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_self_update.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_snapshots.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_stats.go stats: Fix crash in blobs-per-file mode on missing blob 2020-03-27 22:17:54 +01:00
cmd_tag.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_unlock.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_version.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude.go Store reference to reject function for insensitive pattern rejection 2019-01-19 11:08:13 +00:00
exclude_test.go Add tests for insensitive variants of filter methods 2018-11-25 13:32:16 +01:00
find.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Display local time for all commands 2018-11-02 20:36:15 +01:00
global.go Fix shutdown hang when restic is started as background job 2020-04-12 22:27:09 +02:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_test.go Ensure Print{,f,ln} use global stdout 2020-02-15 01:32:43 +01:00
integration_fuse_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_unix_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_helpers_windows_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
local_layout_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
lock.go mount: Ignore non-existing locks 2018-02-25 13:11:03 +01:00
main.go Add support for reading password from external command 2018-11-26 20:18:31 +01:00