[Erp5-report] r30468 - /erp5/trunk/products/ERP5Type/tests/testPerformance.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 10 13:31:45 CET 2009
Author: kazuhiko
Date: Tue Nov 10 13:31:43 2009
New Revision: 30468
URL: http://svn.erp5.org?rev=30468&view=rev
Log:
call view once to fill cache before calculating time.
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=30468&r1=30467&r2=30468&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testPerformance.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testPerformance.py [utf8] Tue Nov 10 13:31:43 2009
@@ -48,13 +48,13 @@
MAX_OBJECT_PROXYFIELD_VIEW=0.228
#CURRENT_MIN_OBJECT_VIEW=0.1220
#CURRENT_MAX_OBJECT_VIEW=0.1280
-MIN_MODULE_VIEW=0.154
-MAX_MODULE_VIEW=0.158
+MIN_MODULE_VIEW=0.147
+MAX_MODULE_VIEW=0.151
MIN_OBJECT_CREATION=0.0088
MAX_OBJECT_CREATION=0.0091
MIN_TIC=0.0522
MAX_TIC=0.0560
-LISTBOX_COEF=0.00095
+LISTBOX_COEF=0.00169
# Change history
# 2009-11-10
# temporary increase threashold for view & tic to notice future regressions
@@ -65,9 +65,9 @@
# too fast by the result of optimisation
# MIN_OBJECT_CREATION : 0.0090 -> 0.0088
# MAX_OBJECT_CREATION : 0.0110 -> 0.0091
-# MIN_MODULE_VIEW : 0.149 -> 0.154
-# MAX_MODULE_VIEW : 0.189 -> 0.158
-# LISTBOX_COEF : 0.001725 -> 0.00095
+# MIN_MODULE_VIEW : 0.149 -> 0.147
+# MAX_MODULE_VIEW : 0.189 -> 0.151
+# LISTBOX_COEF : 0.001725 -> 0.00169
# 2009-10-23
# too fast by the result of optimisation
# MIN_OBJECT_MANY_LINES_VIEW : 0.300 -> 0.285
@@ -229,6 +229,8 @@
self.tic()
after_tic = time()
gc.collect()
+ # call view once to fill caches
+ self.bar_module.BarModule_viewBarList()
before_form = time()
for x in xrange(100):
self.bar_module.BarModule_viewBarList()
More information about the Erp5-report
mailing list