Add benchmark recipe
This commit is contained in:
parent
452c9d350d
commit
e7b127ea01
1 changed files with 4 additions and 0 deletions
4
justfile
4
justfile
|
@ -13,6 +13,10 @@ run:
|
|||
RUSTFLAGS=-Awarnings cargo build --release --bin {{day}}
|
||||
time ./target/release/{{day}}
|
||||
|
||||
bench:
|
||||
RUSTFLAGS=-Awarnings cargo build --release --bin {{day}}
|
||||
hyperfine --warmup 5 ./target/release/{{day}}
|
||||
|
||||
# Begin working on todays problem.
|
||||
# Downloads input, creates template and opens the problem and code.
|
||||
begin: _folders
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue