Benchmarking memory usage for the purpose of reading large XML files.
make test
runtime (s) | memory usage (MiB) | memory usage, real (MiB) | |
---|---|---|---|
test-xmlreader.php | 3.3585588932037 | 0.62660217285156 | 2 |
test-simplexml.php | 2.3316519260406 | 0.61759948730469 | 2 |
test-simplexml-string.php | 2.3231160640717 | 24.296783447266 | 25.90625 |