Skip to content

Instantly share code, notes, and snippets.

@pnkfelix
Created July 15, 2020 23:32
Show Gist options
  • Save pnkfelix/b6be7fb76389f8493c9ce59d8d904ae9 to your computer and use it in GitHub Desktop.
Save pnkfelix/b6be7fb76389f8493c9ce59d8d904ae9 to your computer and use it in GitHub Desktop.
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py build
/usr/bin/env: ‘python’: No such file or directory
(Python3 alone is installed by default. Fixed by running `apt-get install python`)
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py build
[... several downloads and three minutes later ...]
Compiling bootstrap v0.0.0 (/home/pnkfelix/Dev/Mozilla/rust.git/src/bootstrap)
Finished dev [unoptimized] target(s) in 35.21s
thread 'main' panicked at '
couldn't find required command: "cmake"
', src/bootstrap/sanity.rs:59:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failed to run: /home/pnkfelix/Dev/Mozilla/rust.git/objdir-default/build/bootstrap/debug/bootstrap build
Build completed unsuccessfully in 0:03:13
real 3m13.630s
user 5m21.044s
sys 0m13.375s
(Cmake not installed by default. Fixed by running `apt-get install cmake`)
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ rm -rf build
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py build
[...]
Build completed successfully in 0:09:53
real 9m53.874s
user 229m31.999s
sys 8m15.614s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ rm -rf build/
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py build --stage 0
[...]
Build completed successfully in 0:06:21
real 6m21.308s
user 177m11.453s
sys 7m50.345s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py build --stage 1
[...]
Build completed successfully in 0:03:25
real 3m25.935s
user 52m14.022s
sys 0m34.734s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py clean
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py build --stage 0
Build completed successfully in 0:02:26
real 2m26.744s
user 38m20.355s
sys 0m30.823s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-default$ time ../x.py build --stage 1
Build completed successfully in 0:03:27
real 3m27.479s
user 52m39.453s
sys 0m34.860s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-maxcore$ time ../x.py build
[...]
real 9m42.482s
user 253m33.193s
sys 10m16.107s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-maxcore$ rm -rf build/
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-maxcore$ time ../x.py build --stage 0
[...]
real 6m21.488s
user 190m41.274s
sys 8m31.101s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-maxcore$ time ../x.py build --stage 1
[...]
Build completed successfully in 0:03:24
real 3m24.260s
user 65m1.001s
sys 1m41.289s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-512cgu$ time ../x.py build --stage 0
[...]
Build completed successfully in 0:06:29
real 6m29.869s
user 190m49.299s
sys 8m29.883s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-512cgu$ time ../x.py build --stage 1
[...]
Build completed successfully in 0:03:22
real 3m23.017s
user 64m47.082s
sys 1m42.492s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-dbgopt$ time ../x.py build --stage 0
[...]
Build completed successfully in 0:07:28
real 7m28.828s
user 228m5.336s
sys 10m14.964s
pnkfelix@pop-os:~/Dev/Mozilla/rust.git/objdir-dbgopt$ time ../x.py build --stage 1
[...]
Build completed successfully in 0:05:19
real 5m19.206s
user 107m34.414s
sys 4m19.487s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment