While Benchmarking our Maravel and Maravelith php alternatives to Lumen and Laravel, we noticed that Maravelith and Laravel can double their RPS when optimized (cached config, routes etc.) from ~280-290 to over 550 rps just by removing the middlewares from the web routes.
This project is meant to measure the boot time but this scenario shows that middlewares are braking the execution not the application boot.
So, the question is, should this Hello World be measured in web (session, cookies etc.) environment or in api environment?
@myaaghubi @joanhey
While Benchmarking our Maravel and Maravelith php alternatives to Lumen and Laravel, we noticed that Maravelith and Laravel can double their RPS when optimized (cached config, routes etc.) from ~280-290 to over 550 rps just by removing the middlewares from the web routes.
This project is meant to measure the boot time but this scenario shows that middlewares are braking the execution not the application boot.
So, the question is, should this Hello World be measured in web (session, cookies etc.) environment or in api environment?
@myaaghubi @joanhey