2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-31 16:10:49 +00:00
restic/internal
greatroar dde8e9e296 internal/restic: Custom ID.MarshalJSON
This skips an allocation. internal/archiver benchmarks, Linux/amd64:

name                     old time/op    new time/op    delta
ArchiverSaveFileSmall-8    3.94ms ± 6%    3.91ms ± 6%    ~     (p=0.947 n=20+20)
ArchiverSaveFileLarge-8     304ms ± 3%     301ms ± 4%    ~     (p=0.265 n=18+18)

name                     old speed      new speed      delta
ArchiverSaveFileSmall-8  1.04MB/s ± 6%  1.05MB/s ± 6%    ~     (p=0.803 n=20+20)
ArchiverSaveFileLarge-8   142MB/s ± 3%   143MB/s ± 4%    ~     (p=0.421 n=18+19)

name                     old alloc/op   new alloc/op   delta
ArchiverSaveFileSmall-8    17.9MB ± 0%    17.9MB ± 0%  -0.01%  (p=0.000 n=19+19)
ArchiverSaveFileLarge-8     382MB ± 2%     382MB ± 1%    ~     (p=0.687 n=20+19)

name                     old allocs/op  new allocs/op  delta
ArchiverSaveFileSmall-8       540 ± 1%       528 ± 0%  -2.19%  (p=0.000 n=19+19)
ArchiverSaveFileLarge-8     1.93k ± 3%     1.79k ± 4%  -7.06%  (p=0.000 n=20+20)
2022-05-27 12:26:37 +02:00
..
archiver repository: run blackbox tests using old and new repo version 2022-04-30 11:34:10 +02:00
backend Use config file modes to derive new dir/file modes 2022-04-30 15:59:51 +02:00
bloblru bloblru: Fix comment for New function 2022-03-28 22:25:25 +02:00
cache cache: Don't Lstat before creating the tag file 2022-05-10 18:52:39 +02:00
checker Add option global --compression 2022-04-30 11:34:10 +02:00
crypto crypto: Remove unused error 2020-09-05 10:07:16 +02:00
debug add go:build headers everywhere 2022-03-28 22:23:47 +02:00
dump Refactor internal/dump + concurrent load/write 2021-11-01 23:01:55 +01:00
errors errors: Ensure that errors.IsFatal(errors.Fatal("err")) == true 2022-03-28 22:09:49 +02:00
filter Add tests for validating exclude patterns 2022-05-11 22:41:00 +02:00
fs Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
fuse copy/find/ls/recover/stats: Memorize snapshot listing before index 2022-04-09 12:26:30 +02:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
limiter golangci-lint: replace deprecated golint with revive 2022-03-28 22:33:17 +02:00
migrations Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
mock Backend: Expose connections parameter 2022-04-23 11:13:08 +02:00
options Some options fixes 2020-12-23 23:26:04 +03:00
pack pack: slightly expand testing of compressed blobs 2022-04-30 11:34:10 +02:00
repository Merge pull request #3753 from greatroar/indexmap-alloc 2022-05-14 15:44:08 +02:00
restic internal/restic: Custom ID.MarshalJSON 2022-05-27 12:26:37 +02:00
restorer repository: implement pack compression 2022-04-30 11:34:10 +02:00
selfupdate Refactor file handing for self-update. 2022-04-09 21:40:33 +02:00
test Add more error handling 2021-01-30 20:19:47 +01:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui golangci-lint: replace deprecated golint with revive 2022-03-28 22:33:17 +02:00
walker Limit number of large tree blobs loaded in parallel by StreamTrees 2022-02-19 12:26:09 +01:00