myaaghubi / PHP-Frameworks-Bench

A library to make benchmarks from PHP frameworks.
GNU General Public License v2.0
109 stars 4 forks source link

Add Kumbiaphp #10

Closed joanhey closed 1 year ago

myaaghubi commented 1 year ago

I'll check your files as soon as possible

joanhey commented 1 year ago

I made some changes, in the bash files.

rm -rf !("_benchmark") don't work in bash from all OS and virtualizations. You need to add shopt -s globstar first, that is not correct to have it always so. In my debian didn't work the clean.sh, so I think that will happen the same to other people: ./_benchmark/clean.sh: 2: ./_benchmark/clean.sh: Syntax error: "(" unexpected

In update.sh I clean it composer update --no-dev --optimize-autoloader We can use --no-dev --optimize-autoloader in install and update. The only that don't permit --optimize-autoloader is create-project, but still permit --no-dev.

myaaghubi commented 1 year ago

You can't use it like ./_benchmark/clean.sh instead use bash clean.sh -t kumbiaphp-1.1

myaaghubi commented 1 year ago

Oh no! Considering the minimum overhead minimum bootstrap cost, the diff between frameworks is much more than that gets affected by the length of URLs! A very long URL (not public/) can be more visible, but not enough to make a change on the results table. I considered the default for each framework, however, that is a good idea to have a public/ dir for all of them as you mentioned so if you are interested feel free to send a pr

joanhey commented 1 year ago

Added the PR #13

joanhey commented 1 year ago

Woow :+1: You published the new data with Kumbia !!! For a lot of years, I didn't test it without OPCache, but the results are very good.

The difference with the Kenjis bench (from 1.0-dev to 1.1.5), the most important changes for the performance are: