It is a tool to measure CPU and Memory usage throught different stages of a process
composer require jarivas/php-performance
Please check the tests code on tests/Unit
- Requires Docker
- ./vendor/bin/phpunit
Please run
cp pre-commit-hook .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
to add different kind of validations