[Erp5-report] r24804 - /erp5/trunk/products/ERP5Type/tests/testPerformance.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 5 16:22:06 CET 2008
Author: aurel
Date: Fri Dec 5 16:22:04 2008
New Revision: 24804
URL: http://svn.erp5.org?rev=24804&view=rev
Log:
collect garbage between each hundreds of objects generation otherwise time to do the tic is increasing with the running-time
This is due to the move to zope2.8 and the use of new extension class
Modified:
erp5/trunk/products/ERP5Type/tests/testPerformance.py
Modified: erp5/trunk/products/ERP5Type/tests/testPerformance.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testPerformance.py?rev=24804&r1=24803&r2=24804&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testPerformance.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testPerformance.py [utf8] Fri Dec 5 16:22:04 2008
@@ -198,7 +198,7 @@
before_tic = time()
self.tic()
after_tic = time()
-
+ gc.collect()
before_form = time()
for x in xrange(100):
self.bar_module.BarModule_viewBarList()
More information about the Erp5-report
mailing list