Marius Pantea

Maravel vs. PHP Frameworks Benchmarks: Breathing Down the Neck of the Microframework Elite

by

RPS & Memory peak

These are the results for a“Hello World” benchmark thanks to https://github.com/myaaghubi/PHP-Frameworks-Bench on an old desktop system:

PHP 8.3

Ubuntu Mate 24.04

GIGABYTE GA-M52S-S3P rev 1.0

AMD Phenom ll x2 550 3.1 ghz

8GB 4x4GB Samsung M378T5263AZ3-CF7 PC2–6400U-666 4GB 2Rx8 800MHz 240-pin DIMM Non-ECC DDR2

GPU NVIDIA Corporation G73 GeForce 7300 GT ( rev a1 )

HDD IDE

Note: Maravel, Maravelith and Laravel 10 have their cache commands included.

---------------------------------------------------------------------------------------
| framework            | requests per second (rps) | relative (rps) | peak memory (mb) |
|----------------------|---------------------------|----------------|------------------|
| pure-php             | 7,318.29 (-)              | -              | 0.34 (-)         |
| kumbia-1.2           | 5,651.38 (-)              | -              | 0.36 (-)         |
| phroute-2.2          | 5,554.91 (-)              | -              | 0.34 (-)         |
| fastroute-1.3        | 5,490.93 (-)              | -              | 0.34 (-)         |
| fatfree-3.9          | 3,634.06 (-)              | -              | 0.39 (-)         |
| yii-2.0-basic        | 2,243.17 (-)              | -              | 0.69 (-)         |
| maravel-10.52        | 2,017.02 (-0.4%)          | -              | 0.37 (0%)        |
| lumen-10.0           | 975.80 (-0.1%)            | -              | 0.38 (0%)        |
| maravelith-10.52-api | 562.70 (-0.3%)            | -              | 0.60 (0%)        |
| laravel-10.3-api     | 391.82 (-0.3%)            | -              | 0.63 (0%)        |
| maravelith-10.52     | 302.48 (0.6%)             | -              | 0.63 (0%)        |
| laravel-10.3         | 295.34 (6.4%)             | -              | 0.63 (0%)        |
---------------------------------------------------------------------------------------

Execution time & Included files

Press enter or click to view image in full size

Press enter or click to view image in full size

3 views

Add a comment

Replies

Be the first to comment