Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@pnkfelix
Created September 17, 2019 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnkfelix/a80d060cf360b03bd2f79d4b82933257 to your computer and use it in GitHub Desktop.
Save pnkfelix/a80d060cf360b03bd2f79d4b82933257 to your computer and use it in GitHub Desktop.
touch incrdata
rm -r incrdata
(../rust.git/objdir-dbgopt/build/x86_64-apple-darwin/stage1/bin/rustc lots-of-unused.rs -Z self-profile --crate-name pid) &
jobs -p
time wait
(../rust.git/objdir-dbgopt/build/x86_64-apple-darwin/stage1/bin/rustc lots-of-unused.rs -Z self-profile --crate-name pid -C incremental=incrdata ) &
jobs -p
time wait
(../rust.git/objdir-dbgopt/build/x86_64-apple-darwin/stage1/bin/rustc lots-of-unused.rs -Z self-profile --crate-name pid -C incremental=incrdata ) &
jobs -p
time wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment