1
0
Fork 0

Add benchmark recipe

This commit is contained in:
Lars Martens 2024-12-09 23:13:59 +01:00
parent 452c9d350d
commit e7b127ea01
Signed by: haselkern
GPG key ID: B5CF1F363C179AD4

View file

@ -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