Posted by Bastien Continsouzas on 09/05/07 15:37
Hello,
I need to parse relatively small XML files (less than 100 kB) and to
write XML files that can get quite big (the bigger I can get without
having performance issues, the better).
I looked for benchmark to help me choose beetween existing parser but
didn't manage to find a suitable one. I was looking for something
similar to the following one I found for python :
http://effbot.org/zone/celementtree.htm#benchmarks
I know benchmarks are not perfect but they could help me anyway. For
example, I wonder if SimpleXML uses a lot of memory and is fast
despite its simplicity.
I'd also like to know if writing the XML file using plain strings
would be a lot faster and/or would use a lot less memory than using a
parser to build them. And if I choose this option, what is the fastest
way to build big strings in PHP ?
Thank you,
Bastien
[Back to original message]
|