Commit 26e1e54e authored by Aurel's avatar Aurel

collect garbage between each hundreds of objects generation otherwise time to...

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



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24804 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2e90b286
......@@ -198,7 +198,7 @@ class TestPerformance(ERP5TypeTestCase, LogInterceptor):
before_tic = time()
self.tic()
after_tic = time()
gc.collect()
before_form = time()
for x in xrange(100):
self.bar_module.BarModule_viewBarList()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment