rust/build_system
bjorn3 abcff71bec Significantly speed up assembling of sysroots
By avoiding some redundant rustc calls and stripping debuginfo for
wrappers. ./y.rs build --sysroot none now runs 44% faster.

Benchmark 1: ./y_before.bin build --sysroot none
  Time (mean ± σ):      2.200 s ±  0.038 s    [User: 2.140 s, System: 0.653 s]
  Range (min … max):    2.171 s …  2.303 s    10 runs

Benchmark 2: ./y_after.bin build --sysroot none
  Time (mean ± σ):      1.528 s ±  0.020 s    [User: 1.388 s, System: 0.490 s]
  Range (min … max):    1.508 s …  1.580 s    10 runs

Summary
  './y_after.bin build --sysroot none' ran
    1.44 ± 0.03 times faster than './y_before.bin build --sysroot none'
2023-01-15 14:14:13 +00:00
..
abi_cafe.rs Return Compiler from build_sysroot 2023-01-14 14:18:11 +00:00
bench.rs Significantly speed up assembling of sysroots 2023-01-15 14:14:13 +00:00
build_backend.rs Rename Compiler variables for clarity 2023-01-14 14:18:11 +00:00
build_sysroot.rs Significantly speed up assembling of sysroots 2023-01-15 14:14:13 +00:00
config.rs Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23 2022-10-23 16:22:55 +02:00
mod.rs Return Compiler from build_sysroot 2023-01-14 14:18:11 +00:00
path.rs Move patched sysroot from build_sysroot/ to download/ 2023-01-05 18:14:40 +00:00
prepare.rs Don't hard-code rustc path in get_rustc_version and get_default_sysroot 2023-01-14 14:18:11 +00:00
rustc_info.rs Significantly speed up assembling of sysroots 2023-01-15 14:14:13 +00:00
tests.rs Return Compiler from build_sysroot 2023-01-14 14:18:11 +00:00
usage.txt Improve readme and build system help message 2023-01-13 16:34:43 +00:00
utils.rs Significantly speed up assembling of sysroots 2023-01-15 14:14:13 +00:00