about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-08 09:52:12 +0000
committerbors <bors@rust-lang.org>2023-03-08 09:52:12 +0000
commit60445fda58fc9f9aa413752530d6756ae5570f2f (patch)
treeec0ad008573534a55ae52d5a8b2f65224d502652 /compiler/rustc_parse/src
parent9b60e6c68ff0aabad9a0edd71898466886dbf6bb (diff)
parentdabafb44e0917709910915dc5b3bc351a519a9e1 (diff)
downloadrust-60445fda58fc9f9aa413752530d6756ae5570f2f.tar.gz
rust-60445fda58fc9f9aa413752530d6756ae5570f2f.zip
Auto merge of #108534 - Mark-Simulacrum:compression, r=pietroalbini
Import rust-installer & adjust compression settings

This brings in rust-lang/rust-installer#123, which enables a larger compression window (8 -> 64MB) amongst other changes to the xz compression settings. The net effect should be smaller compressed tarballs which will decrease bandwidth usage for
static.rust-lang.org, download times, and decompression time.

This comes at the cost of higher baseline requirements for running rustup to use these files, which we believe should be largely acceptable (running rustc is likely to use at least this much memory) but if we get specific reports we may explore options to decrease impact (e.g., using the gzip tarballs automatically in rustup).

To simplify iteration on compression settings this also imports the rust-lang/rust-installer submodule, it is now hosted fully inside rust-lang/rust. Once we land this I'll file a followup to add a note to that repo and we can subsequently archive it.

--

CI times for dist-x86_64-linux builds:

* threads=6, master - 2h 50m
* threads=1, new - 3h 40m
* threads=6, new - 2h 50m
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions