DEV Community


Discussion on: New PHP router wich is 7 to 15 times faster then Symfony router

nicolasgrekas profile image
Nicolas Grekas • Edited

Hello, thanks for contributing to the space of routing libraries in PHP.
FYI, your benchmark for the Symfony router is using the slowest path supported by the component.
If you really want to compare its performance to your work, you should use the CompiledUrlMatcher.
AFAIK, this is the fastest PHP Router existing to date.
I would be very (and happily) surprised if your router were (significantly) faster. Let me know!
Check for some background on the technology.

alexdodonov profile image
alexdodonov Author

Hi! I have benchmarked CompiledUrlMatcher -