AutoRoute-benchmark
Benchmarking for AutoRoute. (by pmjones)
AutoRoute-benchmark | php-router-benchmark | |
---|---|---|
6 | 2 | |
6 | 1 | |
- | - | |
3.9 | 3.6 | |
over 2 years ago | over 2 years ago | |
PHP | PHP | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AutoRoute-benchmark
Posts with mentions or reviews of AutoRoute-benchmark.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-22.
-
A Faster Router System in PHP
You may wish to take a look at AutoRoute. I am the lead, and you can see benchmarks for it here.
-
Building the Fastest PHP Router Ever
Interesting; AutoRoute is 2x faster than FastRoute in common cases; see benchmark. And it's pretty feature-filled at that.
-
Make your own Framework: (The Fastest) Router Edition
Might be nice to see AutoRoute included in the mix; it too is faster than FastRoute, and has some interesting additional features.
-
The case for route attributes
As a bonus, it is faster even than FastRoute, though speed at the router level is not a big deal to overall application performance.
-
Piko router, a fast router for PHP based on radix tree
Nice! I'd be interested to see how it fares against AutoRoute -- benchmarks against FastRoute here.
-
Weekly "ask anything" thread
Benchmark against FastRoute here: https://github.com/pmjones/AutoRoute-benchmark
php-router-benchmark
Posts with mentions or reviews of php-router-benchmark.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-29.
-
Modern PHP features explained - PHP 8.0 and 8.1
You can see here (scroll down to the table) that match is twice as fast as isset. You can also see that nested matches are barely slower than a single match. That means for example by chaining them into HTTP method lookup, then maybe content type lookup and so on, makes them insanely fast. The router benchmarked on that site is built with that behaviour in mind.
-
Make your own Framework: (The Fastest) Router Edition
Nevertheless I've written a summary of the benchmarks on Github. I'd really love some feedback on both the summary, the benchmarks, and maybe even my concept and the code itself. I know it's not pretty right now (mostly written in Templates), but I'm cleaning that up.
What are some alternatives?
When comparing AutoRoute-benchmark and php-router-benchmark you can also consider the following projects:
Ratchet - Asynchronous WebSocket server
AutoRoute - Automatically maps HTTP requests to PHP action classes.
Fast Route - Fast request router for PHP
RiafCore
php-jwt - PHP package for JWT
Slim Framework - Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
tonics-router-system - A Super Fast PHP Router System
poxa - Pusher server implementation compatible with Pusher client libraries.
Essence
adr - Action-Domain-Responder: a web-specific alternative to Model-View-Controller.
AutoRoute-benchmark vs Ratchet
php-router-benchmark vs AutoRoute
AutoRoute-benchmark vs Fast Route
php-router-benchmark vs RiafCore
AutoRoute-benchmark vs php-jwt
AutoRoute-benchmark vs Slim Framework
AutoRoute-benchmark vs AutoRoute
AutoRoute-benchmark vs RiafCore
AutoRoute-benchmark vs tonics-router-system
AutoRoute-benchmark vs poxa
AutoRoute-benchmark vs Essence
AutoRoute-benchmark vs adr