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:
parent
2ab3e91774
commit
ec3685bfb3
7 changed files with 151 additions and 516 deletions
16
Cargo.toml
16
Cargo.toml
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue