[Lxml-checkins] r46644 - lxml/trunk/benchmark

scoder at codespeak.net scoder at codespeak.net
Sat Sep 15 17:31:51 CEST 2007


Author: scoder
Date: Sat Sep 15 17:31:51 2007
New Revision: 46644

Modified:
   lxml/trunk/benchmark/bench_etree.py
Log:
benchmark for list(element)

Modified: lxml/trunk/benchmark/bench_etree.py
==============================================================================
--- lxml/trunk/benchmark/bench_etree.py	(original)
+++ lxml/trunk/benchmark/bench_etree.py	Sat Sep 15 17:31:51 2007
@@ -195,6 +195,9 @@
     def bench_root_getchildren(self, root):
         root.getchildren()
 
+    def bench_root_list_children(self, root):
+        list(root)
+
     @children
     def bench_getchildren(self, children):
         for child in children:


More information about the lxml-checkins mailing list