this post was submitted on 28 Feb 2026
7 points (88.9% liked)

Rust Programming

9189 readers
4 users here now

founded 6 years ago
MODERATORS
 

Hi everyone! I want to introduce a project that I’ve been working on for 6 days with ARandomOSDever. It currently has only a few layout functions: Spacing, Direction (Row, Column), Padding, Margin, Min/Max Size, Align, and it already supports no std. I’m sharing this with you to get feedback, both good and bad. I would really appreciate your thoughts

GitHub repo: https://github.com/dest-hq/axes

Crates: https://crates.io/crates/axes

I’m not entirely sure, yet why Axes performs faster than Taffy, maybe it’s because Taffy has many layout functions that affect performance.

Here’s a benchmark (Axes 0.2.0 vs Taffy 0.9.2).

| Benchmark | Axes | Taffy | Difference | |


|


|


|


| | Tree: 1,000 Nodes | 15.889 µs | 89.114 µs | 460.853% | | Tree: 10,000 Nodes | 1.1744 ms | 1.0698 ms | -8.90668% | | Tree: 100,000 Nodes | 8.7379 ms | 33.083 ms | 278.615% | | Compute: 1,000 Nodes | 17.423 µs | 39.317 µs | 125.661% | | Compute: 10,000 Nodes | 176.51 µs | 446.35 µs | 152.875% | | Compute: 100,000 Nodes | 1.7988 ms | 14.976 ms | 732.555% |

Hope you have an awesome day

you are viewing a single comment's thread
view the rest of the comments