mirror of
https://github.com/restic/restic.git
synced 2025-12-28 10:39:34 -05:00
Checking whether the right data is returned takes up half the time in some benchmarks. Results for local backend benchmarks on linux/amd64: name old time/op new time/op delta Backend/BenchmarkLoadFile-8 4.89ms ± 0% 2.72ms ± 1% -44.26% (p=0.008 n=5+5) Backend/BenchmarkLoadPartialFile-8 936µs ± 6% 439µs ±15% -53.07% (p=0.008 n=5+5) Backend/BenchmarkLoadPartialFileOffset-8 940µs ± 1% 456µs ±10% -51.50% (p=0.008 n=5+5) Backend/BenchmarkSave-8 23.9ms ±14% 24.8ms ±41% ~ (p=0.690 n=5+5) name old speed new speed delta Backend/BenchmarkLoadFile-8 3.43GB/s ± 0% 6.16GB/s ± 1% +79.40% (p=0.008 n=5+5) Backend/BenchmarkLoadPartialFile-8 4.48GB/s ± 6% 9.63GB/s ±14% +114.78% (p=0.008 n=5+5) Backend/BenchmarkLoadPartialFileOffset-8 4.46GB/s ± 1% 9.22GB/s ±10% +106.74% (p=0.008 n=5+5) Backend/BenchmarkSave-8 706MB/s ±13% 698MB/s ±31% ~ (p=0.690 n=5+5) |
||
|---|---|---|
| .. | ||
| azure | ||
| b2 | ||
| gs | ||
| local | ||
| location | ||
| mem | ||
| rclone | ||
| rest | ||
| s3 | ||
| sftp | ||
| swift | ||
| test | ||
| testdata | ||
| backend_error.go | ||
| backend_retry.go | ||
| backend_retry_test.go | ||
| doc.go | ||
| foreground_solaris.go | ||
| foreground_unix.go | ||
| foreground_windows.go | ||
| http_transport.go | ||
| layout.go | ||
| layout_default.go | ||
| layout_rest.go | ||
| layout_s3legacy.go | ||
| layout_test.go | ||
| paths.go | ||
| semaphore.go | ||
| shell_split.go | ||
| shell_split_test.go | ||
| utils.go | ||
| utils_test.go | ||