[issue17573] add ElementTree XML processing benchmark to benchmark suite

Stefan Behnel report at bugs.python.org
Sat Mar 30 10:27:50 CET 2013


Stefan Behnel added the comment:

Ok, but an lxml benchmark is independent from this patch then. I updated it to only use cElementTree, with the additional "--etree-module" option and also a "--no-accelerator" option for advanced usage.

Another thing I did is to split the actual benchmark code into three: one that does parse-process-serialise, one that only does process-serialise, and one that does only generate-serialise. The intention is to also represent the use case of just getting stuff out, instead of always getting everything in through the parser.

----------
Added file: http://bugs.python.org/file29612/add_et_benchmark.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17573>
_______________________________________


More information about the Python-bugs-list mailing list