DuskSystems / wayfind

A speedy, flexible router for Rust.
Apache License 2.0
7 stars 0 forks source link

Support escaping braces #108

Closed CathalMullan closed 1 month ago

CathalMullan commented 1 month ago

Not as robust as matchit, but good enough. We prevent the use of certain characters in parameter names/constraints to keep things simple.

codspeed-hq[bot] commented 1 month ago

CodSpeed Performance Report

Merging #108 will degrade performances by 5.92%

Comparing 28-support-escaping-and-in-paths (c46a8fb) with main (9767733)

Summary

⚡ 1 improvements ❌ 4 regressions ✅ 17 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main 28-support-escaping-and-in-paths Change
matchit benchmarks/gonzales 5 µs 4.9 µs +2.37%
matchit benchmarks/matchit 5.2 µs 5.5 µs -5.92%
matchit benchmarks/path-table 9.1 µs 9.3 µs -2.25%
matchit benchmarks/path-tree 7.7 µs 7.9 µs -2.9%
matchit benchmarks/wayfind 9.3 µs 9.5 µs -2.16%