rusoft / php-simple-benchmark-script

Очень простой скрипт тестирования быстродействия PHP | Very simple script for testing of PHP operations speed (rusoft repo mirror)
MIT License
60 stars 27 forks source link

Enhanced SimpleXML benchmarks #19

Open kanevbg opened 2 years ago

kanevbg commented 2 years ago

Continuation of #16 and thanks for adding :)

We should add operations with the extension else it is not really useful in practice.

Later I will comment suggested operations to do.

sergey-dryabzhinsky commented 2 years ago

Maybe we need to parse something big and complex? Like unzipped OpenDocument/OpenXML xml file with alot of styles and etc. Something free-to-distribute. And try to search something, summarize and calculate something simple.

kanevbg commented 2 years ago

Yes, these basic operations seems great. Random data generation tool can be used to generate XML string/file for benchmarking purposes, eg I generated example file with that web tool: https://onlinerandomtools.com/generate-random-xml output-onlinerandomtools.txt