1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

move benchmarks to iai-callgrind

This commit is contained in:
Robin Appelman 2025-07-13 22:46:05 +02:00
commit ec3685bfb3
7 changed files with 151 additions and 516 deletions

View file

@ -87,25 +87,19 @@ codegen = ["better-panic", "quote", "syn", "Inflector", "proc-macro2", "tempfile
[dev-dependencies]
pretty_assertions = "1.4.0"
test-case = "3.3.1"
iai = "0.1.1"
criterion = "0.5.1"
iai-callgrind = "0.15.2"
insta = { version = "1.39.0", features = ["json"] }
[profile.release]
lto = "thin"
[profile.bench]
debug = true
[profile.dev]
opt-level = 2
[[bench]]
name = "iai"
harness = false
[[bench]]
name = "allmessages"
harness = false
[[bench]]
name = "bench"
name = "parse"
harness = false