spl-benchmarks:一套比较 PHP SPL 数据结构与 PHP 数组性能的测试

时间:2021-06-10 14:44:09
【文件属性】:
文件名称:spl-benchmarks:一套比较 PHP SPL 数据结构与 PHP 数组性能的测试
文件大小:14KB
文件格式:ZIP
更新时间:2021-06-10 14:44:09
PHP 该存储库包含的脚本旨在对来自 PHP SPL 扩展的数据结构类的操作与它们的数组对应物进行基准测试。 要求 PHP 5.4+ 启用了 FreeType 支持的 GD 扩展 安装 克隆存储库并使用安装依赖项。 git clone https://github.com/elazar/spl-benchmarks.git cd spl-benchmarks composer install -o 用法 要调用基准运行程序,请从存储库根目录运行: ./bin/spl-benchmarks 要了解跑步者支持的论点: ./bin/spl-benchmarks --help 结果 默认情况下,结果将写入存储库根方向的results子目录。 所有原始数据都以 CSV 格式写入raw.csv 。 图表以 PNG 格式生成,用于每秒执行次数和每个基准测试的内存。 results子目录还包含一个in
【文件预览】:
spl-benchmarks-master
----results()
--------index.html(977B)
----benchmarks()
--------memory.php(160B)
--------q-s.php(134B)
--------q-a.php(131B)
--------pq-s.php(234B)
--------s-s.php(130B)
--------fa-s.php(112B)
--------s-a.php(128B)
--------os-a.php(307B)
--------mh-a.php(159B)
--------dll-a.php(97B)
--------dll-s.php(113B)
--------fa-a.php(93B)
--------pq-a.php(322B)
--------mh-s.php(156B)
--------os-s.php(379B)
----src()
--------BenchmarkResult.php(189B)
--------Application.php(685B)
--------RunBenchmarksCommand.php(12KB)
--------BenchmarkIterator.php(3KB)
--------BenchmarkRunner.php(4KB)
--------Benchmark.php(172B)
----LICENSE(1KB)
----README.md(1019B)
----.gitignore(50B)
----bin()
--------spl-benchmarks(131B)
----composer.json(633B)

网友评论