Add simple bench

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-03-08 16:12:56 +01:00
parent 8afc2d1bde
commit b69c659583
5 changed files with 449 additions and 1 deletions

View file

@ -3,6 +3,13 @@ name = "nomo"
version = "0.1.0"
edition = "2024"
[[bench]]
name = "parsing"
harness = false
[profile.bench]
debug = true
[dependencies]
annotate-snippets = "0.12.13"
displaydoc = "0.2.5"
@ -13,6 +20,7 @@ winnow = { version = "0.7.14", features = ["unstable-recover"] }
[dev-dependencies]
annotate-snippets = { version = "0.12.13", features = ["testing-colors"] }
criterion = "0.8.2"
insta = { version = "1.46.3", features = ["glob"] }
nomo = { path = ".", features = ["serialize"] }