Finalised zstd stuff
This commit is contained in:
parent
fa19249927
commit
97930f826d
@ -14,11 +14,16 @@ if [[ -f compression-results.txt ]]; then
|
|||||||
rm compression-results.txt
|
rm compression-results.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# run compression with 4 threads
|
||||||
for i in {1..19}; do
|
for i in {1..19}; do
|
||||||
for x in {1..5}; do
|
for x in {1..10}; do
|
||||||
echo "zstd -$i -T0: Run $x" >> compression-results.txt
|
# remove previous round
|
||||||
{ time tar -c -I"zstd -$i -T0" -f zstd-$i-run-$x.tar.zst "$workdir" 2> /dev/null ; } 2>> compression-results.txt
|
if [[ -f zstd-$i.tar.zst ]]; then
|
||||||
|
rm zstd-$i.tar.zst
|
||||||
|
fi
|
||||||
|
echo "zstd -$i -T4: Run $x" >> compression-results.txt
|
||||||
|
{ time tar -c -I"zstd -$i -T4" -f zstd-$i.tar.zst "$workdir" 2> /dev/null ; } 2>> compression-results.txt
|
||||||
echo "-----------------------------" >> compression-results.txt
|
echo "-----------------------------" >> compression-results.txt
|
||||||
echo "Finished Run $x with zstd -$i -T0"
|
echo "Finished Run $x with zstd -$i -T4"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user