[Lxml-checkins] r42196 - lxml/trunk/benchmark
scoder at codespeak.net
scoder at codespeak.net
Fri Apr 20 10:54:42 CEST 2007
Author: scoder
Date: Fri Apr 20 10:54:42 2007
New Revision: 42196
Modified:
lxml/trunk/benchmark/benchbase.py
Log:
cleanup
Modified: lxml/trunk/benchmark/benchbase.py
==============================================================================
--- lxml/trunk/benchmark/benchbase.py (original)
+++ lxml/trunk/benchmark/benchbase.py Fri Apr 20 10:54:42 2007
@@ -367,12 +367,12 @@
args = [ build() for build in tree_builders ]
t_one_call = current_time()
method_call(*args)
- t_one_call = 1000.0 * (current_time() - t_one_call)
+ t_one_call = current_time() - t_one_call
if t < 0:
t = t_one_call
else:
t = min(t, t_one_call)
- times.append(t)
+ times.append(1000.0 * t)
gc.enable()
del args
return times
More information about the lxml-checkins
mailing list