2022: bench: criterion 0.4

This commit is contained in:
Antoine Martin 2022-12-06 00:01:28 +01:00
parent 2ca6bce781
commit ed66012752
4 changed files with 136 additions and 33 deletions

View file

@ -10,9 +10,16 @@ edition = "2021"
aoc = { path = "../aoc" }
anyhow = "1.0"
[dev-dependencies]
criterion = { version = "0.4", default-features = false, features = [ "rayon" ] }
[lib]
path = "src/lib.rs"
[[bin]]
name = "aoc2022"
path = "src/main.rs"
[[bench]]
name = "aoc2022_bench"
harness = false