tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 707HTML 660Markdown 12TOML 62344 Sutichaykuna

⎇ devin/1784923726-flow-root benches/Cargo.toml TOML · 53 siq'ikuna · 1.2 KB Ñawpa willay ch'uya

Use `parley` rather than `cosmic-text` for "mixed" benches (#936) 639df8fc9 · Nico Burns ·

1[package]
2name = "taffy_benchmarks"
3version = "0.1.0"
4authors = [
5    "Alice Cecile <alice.i.cecile@gmail.com>",
6    "Johnathan Kelley <jkelleyrtp@gmail.com>",
7]
8edition = "2021"
9description = "Benchmarks for the taffy crate"
10repository = "https://github.com/DioxusLabs/taffy"
11keywords = ["cross-platform", "layout", "benchmarks"]
12categories = ["gui", "benchmarks"]
13license = "MIT"
14
15[dependencies]
16criterion = "0.7"
17rand = { version = "0.9" }
18rand_chacha = "0.9"
19taffy = { path = ".." }
20taffy_03 = { package = "taffy", version = "0.3", optional = true }
21yoga = { version = "0.5.0", optional = true }
22ordered-float = { version = "4", optional = true }
23slotmap = { version = "1.0.6", optional = true }
24parley = "0.7"
25
26[features]
27yoga = ["dep:yoga", "dep:slotmap", "dep:ordered-float"]
28yoga-super-deep = ["yoga"]
29taffy03 = ["dep:taffy_03"]
30content_size = ["taffy/content_size"]
31strict_provenance = ["taffy/strict_provenance"]
32small = []
33large = []
34
35[[bench]]
36name = "tree_creation"
37path = "benches/tree_creation.rs"
38harness = false
39
40[[bench]]
41name = "flexbox"
42path = "benches/flexbox.rs"
43harness = false
44
45[[bench]]
46name = "grid"
47path = "benches/grid.rs"
48harness = false
49
50[[bench]]
51name = "mixed"
52path = "benches/mixed.rs"
53harness = false