2022: bench: criterion 0.4
This commit is contained in:
parent
2ca6bce781
commit
ed66012752
4 changed files with 136 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
[package]
|
||||
name = "aoc2022_bench"
|
||||
version = "0.1.0"
|
||||
authors = ["Antoine Martin <antoine@alarsyo.net>"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
aoc2022 = { path = "../" }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3"
|
||||
|
||||
[[bench]]
|
||||
name = "aoc2022_bench"
|
||||
harness = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue