Skip to content

jlisher/php-docker-image-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-FPM docker image benchmark

This is a simple project to do benchmark tests on PHP-FPM images.

Run benchmark

Bring up all services

docker-compose up -d --build

Run the benchmark

This will output the average time, in JSON format.

docker-compose exec bench php /app/compare.php

Modify benchmark tests

comparison script

The comparison script is in the /compare.php file, feel free to have a look and edit as needed.

benchmark script

The benchmark script is located in the app/benchmark.php file within each of the images directories.

There is a base version available in the /data directory.

TODO

  • Fix healthcheck

About

Benchmarking PHP Docker images

Topics

Resources

License

Stars

Watchers

Forks