Skip to content

Performance comparison between SpatieDTO, own written DTOs and raw data (associative arrays)

License

Notifications You must be signed in to change notification settings

tomasklatt/dto-performance-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dto-performance-comparison

Compare performance of associative arrays, SpatieDTO and own written DTO.

Installation

This project uses composer.

composer require tomasklatt/dto-performance-comparison

Usage

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.

Example of result in Linux terminal

About

Performance comparison between SpatieDTO, own written DTOs and raw data (associative arrays)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages