【文件属性】:
文件名称:IlluminateCollectionBenchmark:对 IlluminateSupport 集合进行基准测试
文件大小:28KB
文件格式:ZIP
更新时间:2021-07-02 18:15:49
PHP
IlluminateCollectionBenchmark
该项目的目的是在阅读博客文章后对集合类进行基准测试
安装运行
composer install -o
php benchmark.php
结果
=> 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
【文件预览】:
IlluminateCollectionBenchmark-master
----.gitignore(13B)
----fabpot.json(292KB)
----benchmark.php(3KB)
----LICENSE(1KB)
----composer.json(447B)
----composer.lock(4KB)
----README.md(624B)