{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/21724","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/21724/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/21724/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/21724/events","html_url":"https://github.com/rust-lang/rust/issues/21724","id":55786561,"number":21724,"title":"Tarballs we deliver should be compressed better","user":{"login":"nagisa","id":679122,"avatar_url":"https://avatars.githubusercontent.com/u/679122?v=3","gravatar_id":"","url":"https://api.github.com/users/nagisa","html_url":"https://github.com/nagisa","followers_url":"https://api.github.com/users/nagisa/followers","following_url":"https://api.github.com/users/nagisa/following{/other_user}","gists_url":"https://api.github.com/users/nagisa/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisa/subscriptions","organizations_url":"https://api.github.com/users/nagisa/orgs","repos_url":"https://api.github.com/users/nagisa/repos","events_url":"https://api.github.com/users/nagisa/events{/privacy}","received_events_url":"https://api.github.com/users/nagisa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-infrastructure","name":"A-infrastructure","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-28T17:20:27Z","updated_at":"2015-03-06T04:51:31Z","closed_at":null,"body":"Today’s [rust-nightly-x86_64-unknown-linux-gnu.tar.gz](http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz) is 125MiB in size. I did a `make dist-tar-bins` which output ~~the same~~ tarball, but only 88MiB in size. ~~This is 70% of whatever we publish to s3.~~\r\n\r\nI took liberty to also test:\r\n\r\n* ~~xz (the default level, -6) → 69MiB (55% original);~~\r\n* ~~xz -9 → 59MiB (47% original, but has high memory requirements to decompress)~~\r\n* ~~bz2 → 82MiB (65% original);~~\r\n* ~~lzma → 69MiB, but took longer than xz.~~\r\n\r\nI strongly propose to either migrate to a more modern compression algorithm (xz) ~~or at least investigating why gzip does such a bad job on the build bots~~.\r\n\r\ncc @brson "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/77506380","html_url":"https://github.com/rust-lang/rust/issues/21724#issuecomment-77506380","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/21724","id":77506380,"user":{"login":"comex","id":47517,"avatar_url":"https://avatars.githubusercontent.com/u/47517?v=3","gravatar_id":"","url":"https://api.github.com/users/comex","html_url":"https://github.com/comex","followers_url":"https://api.github.com/users/comex/followers","following_url":"https://api.github.com/users/comex/following{/other_user}","gists_url":"https://api.github.com/users/comex/gists{/gist_id}","starred_url":"https://api.github.com/users/comex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comex/subscriptions","organizations_url":"https://api.github.com/users/comex/orgs","repos_url":"https://api.github.com/users/comex/repos","events_url":"https://api.github.com/users/comex/events{/privacy}","received_events_url":"https://api.github.com/users/comex/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T04:51:31Z","updated_at":"2015-03-06T04:51:31Z","body":"OS X does support xz by default in its 'tar' command (which is bsdtar - not sure exactly when support was introduced, but I think it was in 10.9) and Archive Utility (apparently newly in 10.10)."}}