unjs/rou3

router performance analyzes

Closed this issue ยท 8 comments

pi0 commented

Radix3 matcher is fairly faster than enough even one a single core laptop CPU (benchmarks) and real overhead always is the application logic. However it is a never ending dicussion about radix3 being compared to XYZ also.

My main point of this tracker is to investigate if there are any details in radix3 itself which could potentially be improved (apple-to-apple) but I guess it would make numbers better for apple-to-orange comparations

pi0 commented

Benchmarks added as part of #107

would be interesting to see how H3 fares in this benchmark by using rou3 :

https://github.com/Vanilla-IceCream/fastify-uws?tab=readme-ov-file#benchmarks

pi0 commented

Yep. Also h3 itself in v2 will be web native so numbers for Bun/Deno will definitely change ๐Ÿš€

When will the v2 likely happen? i couldn't find a roadmap, i was just curious if it'll happen this summer

pi0 commented

v2 is rou3 (#108) and already released as 0.x

Got it, thanks.

Yep. Also h3 itself in v2 will be web native so numbers for Bun/Deno will definitely change ๐Ÿš€

Does your comment above refer to v2 for h3? I wasn't sure which v2 you meant

pi0 commented

confusing numbers sorry!

  • radix3 v1 is latest release of it
  • the work that was supposed to evolve as radix3 v2, is being published as new package (rou3) with new versioning starting from 0

H3 v2, will use rou3 for it's rouer.

Thanks for the clarification