Skip to content

JEDIBC/IlluminateCollectionBenchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IlluminateCollectionBenchmark

The purpose of this project is to benchmark illuminate/support Collection class after reading the blog post Refactoring Loops and Conditionals

Installation & run

composer install -o
php benchmark.php

Results

=> CLASSIC
User has score of 54
10000 iterations in 197ms : average = 0.0197ms

=> ARRAY_*
User has score of 54
10000 iterations in 869ms: average = 0.0869ms

=> FUNCTIONAL
User has score of 54
10000 iterations in 1875ms: average = 0.1875ms

About

Benchmarking Illuminate/Support Collection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages