Skip to content

Instantly share code, notes, and snippets.

@kejadlen
Created December 12, 2017 05:47
Show Gist options
  • Save kejadlen/a93271a044ba60235c4289c59740f5bb to your computer and use it in GitHub Desktop.
Save kejadlen/a93271a044ba60235c4289c59740f5bb to your computer and use it in GitHub Desktop.
~/Dropbox/src/github.com/kejadlen/advent_of_code/2017/rust master* ⇡
❯ time cargo run --release < ../input/day_05.txt
Finished release [optimized] target(s) in 0.0 secs
Running `target/release/advent_of_code_2017`
25347697
cargo run --release < ../input/day_05.txt 0.55s user 0.04s system 90% cpu 0.649 total
~/Dropbox/src/github.com/kejadlen/advent_of_code/2017/rust master* ⇡
❯ time cargo run < ../input/day_05.txt
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running `target/debug/advent_of_code_2017`
25347697
cargo run < ../input/day_05.txt 19.70s user 0.09s system 99% cpu 19.986 total
~/Dropbox/src/github.com/kejadlen/advent_of_code/2017/rust master*
❯ time cargo build
...
Compiling advent_of_code_2017 v0.1.0 (file:///Users/alpha/Dropbox/src/github.com/kejadlen/advent_of_code/2017/rust)
Finished dev [unoptimized + debuginfo] target(s) in 9.29 secs
cargo build 16.27s user 1.52s system 188% cpu 9.436 total
~/Dropbox/src/github.com/kejadlen/advent_of_code/2017/rust master* 10s
❯ time cargo build --release
...
Compiling advent_of_code_2017 v0.1.0 (file:///Users/alpha/Dropbox/src/github.com/kejadlen/advent_of_code/2017/rust)
Finished release [optimized] target(s) in 21.31 secs
cargo build --release 23.15s user 1.32s system 113% cpu 21.487 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment