Add benchmarks to accurately gauge improvements

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2023-08-16 14:06:15 -07:00
parent 64e469718b
commit 99d3d71a0f
2 changed files with 263 additions and 0 deletions

View file

@ -47,7 +47,14 @@ wasm-web = ["sys-locale?/js"]
warn_on_missing_glyphs = []
fontconfig = ["fontdb/fontconfig"]
[[bench]]
name = "layout"
harness = false
[workspace]
members = [
"examples/*",
]
[dev-dependencies]
criterion = { version = "0.5.1", default-features = false, features = ["cargo_bench_support"] }