Add formal benchmarking code

This commit is contained in:
2021-12-12 15:33:52 +01:00
parent 0897e2e907
commit 6e3252ce5a
2 changed files with 49 additions and 0 deletions

View File

@@ -9,6 +9,13 @@ clap = { version = "3.0.0-rc.0", features = ["derive"] }
itertools = "0.10"
nom = "7"
[dev-dependencies]
criterion = "0.3"
[profile.release]
# Keep debug information in release for better flamegraphs
debug = true
[[bench]]
name = "days"
harness = false