loading...

re: New php router is 25 times faster then klein router VIEW POST

TOP OF THREAD FULL DISCUSSION
re: But why are there such a big differences in performance?
 

mezon/router provides only basic routing functionality. it made possible to use more simple URL parser and find necessary route handler faster.

 

When you say only basic routing functionality, What are you not providing. I like the idea of automatic url generation with action-suffix. I mainly use a rest call to graphql-rest hybrid endpoint. Which means that uri strings are dynamically generated, e.g books/authors/bio and book/authors/bio/contact. Currently I am using slim framework with its default fastroute. Is your router PSR-7 compliment?

It is not yet PSR-7 compliment. But I hope it will be. Soon )

Code of Conduct Report abuse