Debian Codegraph @

readme.md

raw symbols SCIP
1 [![PkgGoDev](https://img.shields.io/badge/go.dev-docs-007d9c?style=flat-square&logo=go&logoColor=white)](https://pkg.go.dev/github.com/tonistiigi/fsutil)
2 [![CI Status](https://img.shields.io/github/actions/workflow/status/tonistiigi/fsutil/ci.yml?label=ci&logo=github&style=flat-square)](https://github.com/tonistiigi/fsutil/actions?query=workflow%3Aci)
3 [![Go Report Card](https://goreportcard.com/badge/github.com/tonistiigi/fsutil?style=flat-square)](https://goreportcard.com/report/github.com/tonistiigi/fsutil)
4 [![Codecov](https://img.shields.io/codecov/c/github/tonistiigi/fsutil?logo=codecov&style=flat-square)](https://codecov.io/gh/tonistiigi/fsutil)
5
6 Incremental file directory sync tools in golang.
7
8 ```
9 BENCH_FILE_SIZE=10000 ./bench.test --test.bench .
10 BenchmarkCopyWithTar10-4 2000 995242 ns/op
11 BenchmarkCopyWithTar50-4 300 4710021 ns/op
12 BenchmarkCopyWithTar200-4 100 16627260 ns/op
13 BenchmarkCopyWithTar1000-4 20 60031459 ns/op
14 BenchmarkCPA10-4 1000 1678367 ns/op
15 BenchmarkCPA50-4 500 3690306 ns/op
16 BenchmarkCPA200-4 200 9495066 ns/op
17 BenchmarkCPA1000-4 50 29769289 ns/op
18 BenchmarkDiffCopy10-4 2000 943889 ns/op
19 BenchmarkDiffCopy50-4 500 3285950 ns/op
20 BenchmarkDiffCopy200-4 200 8563792 ns/op
21 BenchmarkDiffCopy1000-4 50 29511340 ns/op
22 BenchmarkDiffCopyProto10-4 2000 944615 ns/op
23 BenchmarkDiffCopyProto50-4 500 3334940 ns/op
24 BenchmarkDiffCopyProto200-4 200 9420038 ns/op
25 BenchmarkDiffCopyProto1000-4 50 30632429 ns/op
26 BenchmarkIncrementalDiffCopy10-4 2000 691993 ns/op
27 BenchmarkIncrementalDiffCopy50-4 1000 1304253 ns/op
28 BenchmarkIncrementalDiffCopy200-4 500 3306519 ns/op
29 BenchmarkIncrementalDiffCopy1000-4 200 10211343 ns/op
30 BenchmarkIncrementalDiffCopy5000-4 20 55194427 ns/op
31 BenchmarkIncrementalDiffCopy10000-4 20 91759289 ns/op
32 BenchmarkIncrementalCopyWithTar10-4 2000 1020258 ns/op
33 BenchmarkIncrementalCopyWithTar50-4 300 5348786 ns/op
34 BenchmarkIncrementalCopyWithTar200-4 100 19495000 ns/op
35 BenchmarkIncrementalCopyWithTar1000-4 20 70338507 ns/op
36 BenchmarkIncrementalRsync10-4 30 45215754 ns/op
37 BenchmarkIncrementalRsync50-4 30 45837260 ns/op
38 BenchmarkIncrementalRsync200-4 30 48780614 ns/op
39 BenchmarkIncrementalRsync1000-4 20 54801892 ns/op
40 BenchmarkIncrementalRsync5000-4 20 84782542 ns/op
41 BenchmarkIncrementalRsync10000-4 10 103355108 ns/op
42 BenchmarkRsync10-4 30 46776470 ns/op
43 BenchmarkRsync50-4 30 48601555 ns/op
44 BenchmarkRsync200-4 20 59642691 ns/op
45 BenchmarkRsync1000-4 20 101343010 ns/op
46 BenchmarkGnuTar10-4 500 3171448 ns/op
47 BenchmarkGnuTar50-4 300 5030296 ns/op
48 BenchmarkGnuTar200-4 100 10464313 ns/op
49 BenchmarkGnuTar1000-4 50 30375257 ns/op
50 ```