marius-ciclistuMaravel-Framework 10.61.9 Thanks to https://github.com/myaaghubi/PHP-Frameworks-Bench I was able to...
Thanks to https://github.com/myaaghubi/PHP-Frameworks-Bench I was able to benchmark Maravel Micro-Framework 10.52.14 vs Lumen 10 and Maravelith 10.52.8 vs Laravel 10.3.
System:
PHP 8.1
Ubuntu Mate 22.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
Maravel is slower than Lumen because of the recent added features:
Maravelith has approximately the same results as Laravel with the above new features + event:cache that include observers (which is disabled by default in Maravel)
In terms of memory, only Maravelith has 1% more memory usage vs Laravel, while Maravel and Lumen share the same amount.
Maravel: config:cache, route:cache, autowiring:cache
Lumen: n/a
Maravelith: config:cache, route:cache, autowiring:cache, event:cache
Laravel: config:cache, route:cache, event:cache
Maravel is 62% faster than Lumen 10 and Maravelith is 4% faster than Laravel 10.
Maravelith is 57% faster with these commands while Laravel 10 is 53% faster if compared to their respective results without cache.
In terms of memory, Maravel used 5% less, Maravelith 26.66% less and Laravel 24.72% less if compared with their respective results without cache.
When comparing Maravelith with Laravel, the first uses 1.5% less memory.