@@ -45,7 +45,7 @@ bsdtar extract 0.733 0.200 0.504 96.02 353358 KB/s
4545gnutar extract 0.625 0.092 0.508 96.02 414419 KB/s
4646star extract 0.875 0.096 0.980 100.00 296013 KB/s
4747
48- bsdtar compare 0.001 0.000 0.000 0.00 N/A
48+ bsdtar compare 0.001 0.000 0.000 0.00 259012000 KB/s
4949gnutar compare 0.719 0.288 0.400 95.66 360239 KB/s
5050star compare 0.695 0.224 0.636 100.00 372679 KB/s
5151
@@ -66,7 +66,7 @@ bsdtar extract 78.914 0.820 15.149 20.23 41932 KB/s
6666gnutar extract 78.480 0.196 14.197 18.33 42164 KB/s
6767star extract 79.439 0.132 12.973 16.49 41655 KB/s
6868
69- bsdtar compare 0.001 0.000 0.000 0.00 N/A
69+ bsdtar compare 0.001 0.000 0.000 0.00 3309080000 KB/s
7070gnutar compare 61.771 3.464 8.905 20.02 53570 KB/s
7171star compare 57.561 1.728 9.897 20.19 57488 KB/s
7272
@@ -96,7 +96,7 @@ bsdtar extract 1.186 0.172 1.012 99.87 95629 KB/s
9696gnutar extract 1.064 0.056 1.004 99.63 106593 KB/s
9797star extract 1.920 0.088 1.724 94.40 59070 KB/s
9898
99- bsdtar compare 0.002 0.000 0.000 0.00 N/A
99+ bsdtar compare 0.002 0.000 0.000 0.00 56708000 KB/s
100100gnutar compare 0.925 0.232 0.692 99.90 122611 KB/s
101101star compare 1.569 0.376 1.096 93.79 72285 KB/s
102102
@@ -117,6 +117,20 @@ bsdtar extract 94.912 4.476 31.574 37.98 22146 KB/s
117117gnutar extract 94.657 0.396 29.462 31.54 22206 KB/s
118118star extract 100.814 0.400 39.906 39.98 20849 KB/s
119119
120- bsdtar compare 0.003 0.000 0.004 100.00 N/A
120+ bsdtar compare 0.003 0.000 0.004 100.00 700657000 KB/s
121121gnutar compare 80.174 3.932 20.365 30.30 26217 KB/s
122122star compare 73.911 8.341 27.670 48.72 28439 KB/s
123+
124+ =============================================================
125+
126+ Note by Tim Kientzle: The "bsdtar compare" results here are
127+ invalid since bsdtar does not support that operation.
128+ For the list numbers, note that libarchive automatically optimizes
129+ list operations on uncompressed tar archives on disk by using lseek()
130+ to skip over the bodies of entries. GNU tar added an option to
131+ provide the same feature.
132+
133+ The biggest problem with these tests is that they only
134+ cover uncompressed archives stored on disk. The results for
135+ compressed archives and/or archives stored on tape are
136+ likely quite different.
0 commit comments