PHP Classes

How to Discover Which is the Fastest PHP Framework Router Using the Mezon Router Benchmark: Measure the performance of PHP framework routers

Recommend this page to a friend!

  Author Author  
Picture of Alexey Dodonov
Name: Alexey Dodonov <contact>
Classes: 57 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 13x


  Detailed description   Download Download .zip .tar.gz  
This package can measure the performance of PHP framework routers.

It provides a package that installs other popular PHP frameworks when you use the PHP composer to install this package.

The package provides test classes and scripts that measure the performance of each PHP framework tested.

Currently, it tests the following PHP framework routers:

- Altorouter

- Aura

- Bramus

- Klein

- League

- Phroute

- Pux

- Rareloop

- Slim

- Sunrise

Details

mezon-router-benchmark

Just clone this repo to your PC and then:

composer update

System requirements

This benchmark requires PHP v.8.0 and higher.

If you need benchmark for the PHP 7.x version please look at this repo.

Run bemchmark

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 Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  

 

Name: How to Discover Which is the Fastest PHP Framework Router Using the Mezon Router Benchmark
Base name: mezon-router-benchma
Description: Measure the performance of PHP framework routers
Version: -
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image Performance and optimization Tools to measure and optimize the performance of systems View top rated classes
Group folder image PHP 8 Classes using PHP 8 specific features View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
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  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagecache (2 files)
Files folder imageMezon (2 directories)
Files folder imagetests (2 files, 10 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpbench.json Data Auxiliary data
Accessible without login Plain text file phpbench2.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Plain text file RouteGenerator.php Class Class source

Download 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.