[Lxml-checkins] r42980 - lxml/trunk/benchmark
scoder at codespeak.net
scoder at codespeak.net
Wed May 9 23:02:31 CEST 2007
Author: scoder
Date: Wed May 9 23:02:31 2007
New Revision: 42980
Modified:
lxml/trunk/benchmark/bench_etree.py
Log:
deepcopy with attributes
Modified: lxml/trunk/benchmark/bench_etree.py
==============================================================================
--- lxml/trunk/benchmark/bench_etree.py (original)
+++ lxml/trunk/benchmark/bench_etree.py Wed May 9 23:02:31 2007
@@ -212,10 +212,14 @@
child[:]
@children
+ @with_attributes(True, False)
+ @with_text(utext=True, text=True, no_text=True)
def bench_deepcopy(self, children):
for child in children:
copy.deepcopy(child)
+ @with_attributes(True, False)
+ @with_text(utext=True, text=True, no_text=True)
def bench_deepcopy_all(self, root):
copy.deepcopy(root)
More information about the lxml-checkins
mailing list