Skip to content

Commit

Permalink
rsync compress (google#128)
Browse files Browse the repository at this point in the history
Add --compress to rsync command in push.sh, adhoc testing found savings
in the 400ms range in the best case and no significant performance drop in
the worst case.
  • Loading branch information
jpillora authored and maruel committed Apr 19, 2017
1 parent e3107fd commit d351d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for i; do
time GOOS=linux GOARCH=arm go build .
echo ""
echo -n "- Copying: "
time rsync -v "$NAME" "$HOST:${NAME}"
time rsync -v --compress "$NAME" "$HOST:${NAME}"
echo ""
rm "$NAME"
cd ..
Expand Down

0 comments on commit d351d1b

Please sign in to comment.