Comments (6)
Well, that kinda makes it a somewhat difficult to create, as it requires knowledge of how exactly the other routers work …
On a sidenote: I've found https://github.com/c9s/router-benchmark whilst researching this topic. Perhaps that repo could act as a starting point for a benchmark.
from router.
I think you can check this
https://github.com/jails/php-router-benchmark
from router.
No, there are no benchmarks available.
If there were, what would you like to see benchmarked?
from router.
Would be nice to see benchmarks for:
first route, last route, unknown route matching.
from router.
It'd be perfectly possible to run these, yet I'm wondering if they're useful without any context: Speeds will vary per machine and server setup (HTTP Server, PHP version, etc), so they'll need to be compared to other routers before the numbers can make any sense.
But some other routers do more than "just route", they may also include some form of templating, some Request/Response related classes, etc. — so the processing time of those parts should be excluded when comparing, or does one just leave it as is?
Looking forward to hearing your (further) input on this.
from router.
I agree. It should be excluded.
from router.
Related Issues (20)
- Form submits a GET request without a submit-button HOT 1
- um... controller blank page HOT 1
- how to run php file with command .for example: php index.php Home index HOT 1
- How can i serve the static folder using Router? HOT 1
- $match arrgument not being used anywhere
- after router middleware not keeping states?
- How can I setup this middleware? HOT 1
- router in subfolder HOT 2
- There is no Cache funciton! so Please Add Caching Feature! HOT 1
- 404 error executing more than twice
- No executing middleware HOT 2
- I have uploaded my system that works with this router to the hosting, and it's not functioning. HOT 1
- Post values not coming
- Accessors and named routes
- How to do the following HOT 4
- Lazy loading class
- Undefined array key warning HOT 1
- Tag 1.6.x patch release?
- Undefined array key "GET" in /vendor/bramus/router/src/Bramus/Router/Router.php on line 292 HOT 1
- no rules will match string with "." in path HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from router.