Closed joanhey closed 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
.
You can't use it like ./_benchmark/clean.sh
instead use bash clean.sh -t kumbiaphp-1.1
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
Added the PR #13
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:
.php
config files, before .ini
, that need to load and parse in each requestWRK
, ab
was not fast enough for the faster frameworks
I created an issue about that, some years ago: https://github.com/kenjis/php-framework-benchmark/issues/62
I'll check your files as soon as possible