I’m curious what your solution is for high performance XML parsing on the iPhone is, given its limited amount of CPU power. I have reviewed the XML Performance App that Apple provides as a demonstration, and it seems that for the data feed (300 iTunes songs) that they’re parsing.. libxml2 always seem to come as the forefront winner.
With your experience in dealing with data that’s < 100Kb, what do you prefer for optimal performance? I’m currently using TouchXML + libxml2 and looking to see if it’s possible to optimize on the parsing speeds as is.
Thanks for your feedback!
I’ve generally found for larger chunks of data (like the apple example you reference) libxml2 tends to be faster. For smaller chunks of data, the difference is negligible. One advantage i like about NSXMLParser is that it is an Objective-C based implementation of an XML Parser where libxml2 is C based.