I ported your client-nav benchmark to our router — here are the results #7109
greydragon888
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm the author of https://github.com/greydragon888/real-router, a framework-agnostic router.
While working on performance, I ported your client-side navigation benchmark.
It exercises the same scenario against both TanStack Router React and Real-Router with React adapter under identical conditions.
I'm also planning to add benchmarks for Vue and Solid adapters soon — it'll be interesting to compare those as well.
Setup:
Results (MacBook Pro M3 Pro, 18 GB RAM, macOS Sequoia):
Observations:
The gap in minimum latency (1.2 ms vs 4.8 ms) suggests the difference is mostly in core overhead — route matching, state diffing, subscriber notification.
Not than in React rendering, which is shared.
Why share this here:
I think reproducible cross-router benchmarks are valuable for the ecosystem.
The benchmark repo is public and the setup is straightforward to run locally.
If something looks off methodologically, I'dappreciate the feedback. happy to adjust!
Beta Was this translation helpful? Give feedback.
All reactions