library benchmarker-array-php
Benchmark factory for array engines in PHP
alekseykorzun/benchmarker-array-php
Benchmark factory for array engines in PHP
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Benchmarker Array (v1.0.0)
Benchmarking 'framework' used to analyze performance of PHP array implementations., (*1)
Written to support the following blog post:, (*2)
http://www.alekseykorzun.com/post/55787102212/php-judy-array-introduction-and-comparison, (*3)
Installation
If you have your own autoloader, simply update namespaces and drop the files
into your frameworks library., (*4)
For people that do not have that setup, you can visit http://getcomposer.org to install
composer on your system. After installation simply run composer install
in parent
directory of this distribution to generate vendor/ directory with a cross system autoloader., (*5)
CLI parameters
- -t type of array to benchmark (plain, object, fixed or judy)
- -m type of benchmark to perform (instance, append, iteration, removal)
- -i number of iterations to perform during the benchmark