You are here: Xml parser performance and Xml generation « PHP Programming Language « IT news, forums, messages
Xml parser performance and Xml generation

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация