Recommend this page to a friend! |
Just clone this repo to your PC and then:
composer update
This benchmark requires PHP v.8.0 and higher.
If you need benchmark for the PHP 7.x version please look at this repo.
Use this command:
composer benchmark2
Classes of Alexey Dodonov | > | How to Discover Which is the Fastest PHP Framework Router Using the Mezon Router Benchmark | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
Groups | Applications | Files |
Groups |
Performance and optimization | Tools to measure and optimize the performance of systems | View top rated classes |
PHP 8 | Classes using PHP 8 specific features | View top rated classes |
Innovation Award |
November 2022 Nominee Vote |
Many PHP developers are working on applications that have high requirements in terms of performance. When they use MVC frameworks to serve their applications, the router part is always used to handle HTTP requests and forward them to controller classes or callback functions that process the requests and generate the respective responses. Therefore if they use a faster router, the applications may gain significant performance improvements. This package provides a benchmark that allows PHP developers to compare the speed of different framework routers, so they can choose the fastest router they can use in their applications. Manuel Lemos |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description | ||
---|---|---|---|---|
cache (2 files) | ||||
Mezon (2 directories) | ||||
tests (2 files, 10 directories) | ||||
composer.json | Data | Auxiliary data | ||
phpbench.json | Data | Auxiliary data | ||
phpbench2.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
RouteGenerator.php | Class | Class source |
Files | / | cache |
File | Role | Description |
---|---|---|
cache.param.php | Conf. | Configuration script |
cache.static.php | Conf. | Configuration script |
Files | / | Mezon | / | Benchmarks |
File | Role | Description | ||
---|---|---|---|---|
Coffeecode (4 files) | ||||
DannyVanKooten (4 files) | ||||
Hoa (4 files) | ||||
Izniburak (4 files) | ||||
Joomla (4 files) | ||||
Leaf (4 files) | ||||
Macaw (4 files) | ||||
Mezon (4 files) | ||||
MiladRahimi (4 files) | ||||
Pecee (4 files) | ||||
Snappy (4 files) | ||||
Steampixel (4 files) | ||||
Teto (4 files) | ||||
Toro (4 files) | ||||
Zaphpa (4 files) | ||||
Base.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Coffeecode |
File | Role | Description |
---|---|---|
CoffeeReactParamBench.php | Class | Class source |
CoffeeReactStaticBench.php | Class | Class source |
CoffeeSingleRequestParamBench.php | Class | Class source |
CoffeeSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | DannyVanKooten |
File | Role | Description |
---|---|---|
DVKReactParamBench.php | Class | Class source |
DVKReactStaticBench.php | Class | Class source |
DVKSingleRequestParamBench.php | Class | Class source |
DVKSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Hoa |
File | Role | Description |
---|---|---|
HoaReactParamBench.php | Class | Class source |
HoaReactStaticBench.php | Class | Class source |
HoaSingleRequestParamBench.php | Class | Class source |
HoaSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Izniburak |
File | Role | Description |
---|---|---|
IBReactParamBench.php | Class | Class source |
IBReactStaticBench.php | Class | Class source |
IBSingleRequestParamBench.php | Class | Class source |
IBSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Joomla |
File | Role | Description |
---|---|---|
JoomlaReactParamBench.php | Class | Class source |
JoomlaReactStaticBench.php | Class | Class source |
JoomlaSingleRequestParamBench.php | Class | Class source |
JoomlaSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Leaf |
File | Role | Description |
---|---|---|
LeafReactParamBench.php | Class | Class source |
LeafReactStaticBench.php | Class | Class source |
LeafSingleRequestParamBench.php | Class | Class source |
LeafSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Macaw |
File | Role | Description |
---|---|---|
MacawReactParamBench.php | Class | Class source |
MacawReactStaticBench.php | Class | Class source |
MacawSingleRequestParamBench.php | Class | Class source |
MacawSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Mezon |
File | Role | Description |
---|---|---|
MezonReactParamBench.php | Class | Class source |
MezonReactStaticBench.php | Class | Class source |
MezonSingleRequestParamBench.php | Class | Class source |
MezonSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | MiladRahimi |
File | Role | Description |
---|---|---|
MiladReactParamBench.php | Class | Class source |
MiladReactStaticBench.php | Class | Class source |
MiladSingleRequestParamBench.php | Class | Class source |
MiladSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Pecee |
File | Role | Description |
---|---|---|
PeceeReactParamBench.php | Class | Class source |
PeceeReactStaticBench.php | Class | Class source |
PeceeSingleRequestParamBench.php | Class | Class source |
PeceeSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Snappy |
File | Role | Description |
---|---|---|
SnappyReactParamBench.php | Class | Class source |
SnappyReactStaticBench.php | Class | Class source |
SnappySingleRequestParamBench.php | Class | Class source |
SnappySingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Steampixel |
File | Role | Description |
---|---|---|
SteampixelReactParamBench.php | Class | Class source |
SteampixelReactStaticBench.php | Class | Class source |
SteampixelSingleRequestParamBench.php | Class | Class source |
SteampixelSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Teto |
File | Role | Description |
---|---|---|
TetoReactParamBench.php | Class | Class source |
TetoReactStaticBench.php | Class | Class source |
TetoSingleRequestParamBench.php | Class | Class source |
TetoSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Toro |
File | Role | Description |
---|---|---|
ToroReactParamBench.php | Class | Class source |
ToroReactStaticBench.php | Class | Class source |
ToroSingleRequestParamBench.php | Class | Class source |
ToroSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks | / | Zaphpa |
File | Role | Description |
---|---|---|
ZaphpaReactParamBench.php | Class | Class source |
ZaphpaReactStaticBench.php | Class | Class source |
ZaphpaSingleRequestParamBench.php | Class | Class source |
ZaphpaSingleRequestStaticBench.php | Class | Class source |
Files | / | Mezon | / | Benchmarks2 | / | Mezon |
File | Role | Description | ||
---|---|---|---|---|
Data (1 file) | ||||
MezonReactBench.php | Class | Class source | ||
MezonSingleRequestBench.php | Class | Class source | ||
Utils.php | Class | Class source |
Files | / | Mezon | / | Benchmarks2 | / | Mezon | / | Data |
File | Role | Description |
---|---|---|
MezonRoutes.json | Data | Auxiliary data |
Files | / | Mezon | / | Benchmarks2 | / | Symfony |
File | Role | Description | ||
---|---|---|---|---|
CompiledUrlMatcher (3 files) | ||||
Data (2 files) | ||||
UrlMatcher (3 files) |
Files | / | Mezon | / | Benchmarks2 | / | Symfony | / | CompiledUrlMatcher |
File | Role | Description |
---|---|---|
SymfonyCUMReactBench.php | Class | Class source |
SymfonyCUMSingleRequestBench.php | Class | Class source |
Utils.php | Class | Class source |
Files | / | Mezon | / | Benchmarks2 | / | Symfony | / | Data |
File | Role | Description |
---|---|---|
SymfonyRoute.json | Data | Auxiliary data |
SymfonyRoutes.json | Data | Auxiliary data |
Files | / | Mezon | / | Benchmarks2 | / | Symfony | / | UrlMatcher |
File | Role | Description |
---|---|---|
SymfonyUMReactBench.php | Class | Class source |
SymfonyUMSingleRequestBench.php | Class | Class source |
Utils.php | Class | Class source |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
altorouter (4 files) | ||||
aura (2 files) | ||||
bramus (2 files) | ||||
klein (2 files) | ||||
league (2 files) | ||||
phroute (2 files) | ||||
pux (2 files) | ||||
rareloop (2 files) | ||||
slim (2 files) | ||||
sunrise (2 files) | ||||
fast-route.php | Example | Example script | ||
laravel.php | Example | Example script |
Files | / | tests | / | altorouter |
File | Role | Description |
---|---|---|
react-100.php | Example | Example script |
react-1000.php | Example | Example script |
single-request-100.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | aura |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | bramus |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | klein |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | league |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | phroute |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | pux |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | rareloop |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | slim |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Files | / | tests | / | sunrise |
File | Role | Description |
---|---|---|
react-1000.php | Example | Example script |
single-request-1000.php | Example | Example script |
Download all files: mezon-router-benchma.tar.gz mezon-router-benchma.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|