All the recent discussions on xml parsing performance got me curious, and i put together a small speed test for xml processing.
The test program was designed to have as minimal state requirements as possible so that efficient 'stream' processing can be done using sax style events. Here's the quick summary of timings: Input file size 80mb: C/Expat: 4.25 secs Python/cElementTree: 15.52 secs Python/pyexpat: 16.10 secs Input file size 800mb: C/Expat: 105 secs Python+cElementTree: 184 secs Python+pyexpat: 191 secs Test System: 1.3GHz Celeron-M, 768mb RAM More details and related source code is available at: http://sreeram.cc/?p=6 Regards Sreeram
signature.asc
Description: OpenPGP digital signature
-- http://mail.python.org/mailman/listinfo/python-list