Created
April 27, 2020 01:02
-
-
Save EricRahm/5094f533715a8e3072a9bbaa39a3e0c2 to your computer and use it in GitHub Desktop.
Fx Builds: Rust nightly vs 1.43 stable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Switch to the stable builds | |
rustup default stable | |
rustc -V | |
cargo -V | |
cat .mozconfig | |
echo "" | |
echo "Baseline run without without bytecode optimization" | |
echo "==================================================" | |
# Baseline run | |
echo -n "Initial run to populate ccache..." | |
./mach clobber --full | |
./mach -l build.log build > /dev/null | |
echo "done" | |
multitime -q -n 6 -r 'echo done && echo -n clobbering... && ./mach clobber --full && echo done && echo -n building...' ./mach -l build.log build | |
echo "" | |
echo "Running with nightly" | |
echo "====================" | |
# Switch to the nightly builds | |
rustup default nightly | |
rustc -V | |
cargo -V | |
# Baseline run | |
echo -n "Initial run with nightly to populate ccache..." | |
./mach clobber --full | |
./mach -l build.log build > /dev/null | |
echo "done" | |
multitime -q -n 6 -r 'echo done && echo -n clobbering... && ./mach clobber --full && echo done && echo -n building...' ./mach -l build.log build | |
rustup default stable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment