Compare performance of associative arrays, SpatieDTO and own written DTO.
This project uses composer.
composer require tomasklatt/dto-performance-comparison
To test those three ways of passing data in app with default data set just use
bin/dtopc run
To change amount of data of Faker library you can use params -c
or -count
bin/dtopc run -c 10
To add own DTO library just install it via composer and create new runner class extending AbstractRunner.