ResourcesFast InfoSet and other implementations at http://builder.com.com/5100-6371_14-5534881.html?part=rss&tag=feed&subj=bldrRoadMap to high performance XML by "Daniel Cazzulino at http://weblogs.asp.net/cazzu/archive/2004/07/09/HiPerfXML.aspx
Q: What is the performance of XML when compared to other methods?
A1: What do you want to measure? XML vs a text file with no markup? XML vs a text file with a proprietary markup? XML vs binary?
A2: Sans a comparison of XML vs non-XML, some numbers from "Benchmarking XML Parsers" (http://www.xml.com/lpt/a/Benchmark/article.html) by Clark Cooper may be illustrative. He tested six parsers in four different languages. His machine is a PII laptop with a fair but not extraordinary amount of processing power (232.65 BogoMips). CPU seconds to process a 1,264,240 byte file, 33% of which was XML markups (as opposed to content) were:
Which XML parsing package are you using in Python? There are several, and the speed varies widely.
Network throughput and processing speeds are quite different. Obviously XML is incredibly redundant and a prime candidate for compression, approaching a 90% or more compression rate.
CategoryXml