To get straight to the results, follow this Link.
To view the Riaf framework, follow this Link.
You can run these benchmarks yourself in two ways:
In order to run it in a reproducible environment, build and run the docker image with
docker build -t containerbenchmark:local --build-arg SERVICES=100 .
docker run --rm -it containerbenchmark:local benchmark-table
Requirements:
make
php >=8.0
Then simply do a make
and it will automatically prepare and execute all benchmarks.
To only execute the container benchmarks listed in the Results, run make prepare
followed by make benchmark-table
,
which will print a nice graph as well.
As Containers vary a lot, I've built three special case commands to only benchmarks certain kinds of Containers. These are:
make benchmark-compiled
for Compiled Containersmake benchmark-match
for Containers making use ofmatch
make benchmark-containers
to benchmark every Container (may take a long time since some of them are pretty slow)
Each of these can be used with Docker as well, just replace the benchmark-table
in the command above with the benchmark-* of your choice.
If you want to add your own Container, or found an inconsistency/bug/improvement, then you're more than welcome to make a PR or open an issue.