diff --git a/product/ERP5/tests/testSimulationElementPerformance.py b/product/ERP5/tests/testSimulationElementPerformance.py index ec1bf293ad72ed77a214bdcb66abab09af46ad87..db24e596fed95db9e3ede5619377b94915704fd8 100644 --- a/product/ERP5/tests/testSimulationElementPerformance.py +++ b/product/ERP5/tests/testSimulationElementPerformance.py @@ -112,26 +112,26 @@ HISTORICAL_EXPECTED_MIN_MAX_TIME = { } EXPECTED_MIN_MAX_TIME = { - 'Creation Of New Applied Rules': (30, 35), + 'Creation Of New Applied Rules': (7.38, 11.38), # (30, 35) - 'Expansion of Existing Applied Rules': (41, 47), + 'Expansion of Existing Applied Rules': (9.98, 15.98), # (41, 47) - 'Creation of New Sale Packing Lists': (27, 32), + 'Creation of New Sale Packing Lists': (6.12, 10.12), # (27, 32) - 'Expansion of Converged Changes': (48, 54), + 'Expansion of Converged Changes': (11.12, 17.12), # (48, 54) - 'Expansion of Diverged Changes': (53, 59), + 'Expansion of Diverged Changes': (18.58, 24.58), # (53, 59) - 'Adoption of Previsions': (105, 114), + 'Adoption of Previsions': (26.78, 34.78), # (105, 114) - 'Acceptance of Decisions': (104, 113), + 'Acceptance of Decisions': (27.3, 35.3), # (104, 113) - 'Creation of New Applied Rules from Partially Simulated Deliveries': - (38, 44), + 'Creation of New Applied Rules from Partially Simulated Deliveries': (9.05, 15.05), + # (38, 44) - 'Creation Of New Sale Invoices': (48, 54), + 'Creation Of New Sale Invoices': (11.05, 17.05), # (48, 54) - 'Addition of New Invoices Lines': (116, 125), + 'Addition of New Invoices Lines': (29.11, 37.11) # (116, 125) } class TestSimulationPerformance(ERP5TypeTestCase, LogInterceptor): diff --git a/product/ERP5Type/tests/testPerformance.py b/product/ERP5Type/tests/testPerformance.py index 755885452d2d4b36a8b16370387c32a5131a7ab8..5b6dfa01e3e4f8c9a4748456f246d1f0ef84f67b 100644 --- a/product/ERP5Type/tests/testPerformance.py +++ b/product/ERP5Type/tests/testPerformance.py @@ -45,20 +45,20 @@ import os # specific testing environment. We must always try to stay below max # historical values. # Historical values -MIN_OBJECT_VIEW=0.160 # 0.020, 0.112 -MAX_OBJECT_VIEW=0.174 # 0.050, 0.120 -MIN_OBJECT_MANY_LINES_VIEW=0.040 # 0.040, 0.274 -MAX_OBJECT_MANY_LINES_VIEW=0.090 # 0.090, 0.294 -MIN_OBJECT_PROXYFIELD_VIEW=0.242 # 0.020, 0.199 -MAX_OBJECT_PROXYFIELD_VIEW=0.257 # 0.090, 0.220 +MIN_OBJECT_VIEW=0.043 # 0.160 0.020, 0.112 +MAX_OBJECT_VIEW=0.057 # 0.174 0.050, 0.120 +MIN_OBJECT_MANY_LINES_VIEW=0.165 # 0.040, 0.274 +MAX_OBJECT_MANY_LINES_VIEW=0.215 # 0.090, 0.294 +MIN_OBJECT_PROXYFIELD_VIEW=0.176 # 0.242 0.020, 0.199 +MAX_OBJECT_PROXYFIELD_VIEW=0.191 # 0.257 0.090, 0.220 #CURRENT_MIN_OBJECT_VIEW=0.1220 #CURRENT_MAX_OBJECT_VIEW=0.1280 -MIN_MODULE_VIEW=0.160 # 0.020, 0.125 -MAX_MODULE_VIEW=0.174 # 0.070, 0.175 -MIN_TIC=0.0333 # 0.0020, 0.260 -MAX_TIC=0.0354 # 0.0090, 0.343 -MIN_OBJECT_CREATION=0.0130 # 0.0010, 0.0070 -MAX_OBJECT_CREATION=0.0145 # 0.0040, 0.0082 +MIN_MODULE_VIEW=0.050 # 0.050 0.160 0.020, 0.125 +MAX_MODULE_VIEW=0.065 # 0.065 0.174 0.070, 0.175 +MIN_TIC=0.0073 # 0.0333 0.0020, 0.260 +MAX_TIC=0.0150 # 0.0354 0.0090, 0.343 +MIN_OBJECT_CREATION=0.0053 # 0.0130 0.0010, 0.0070 +MAX_OBJECT_CREATION=0.0068 # 0.0145 0.0040, 0.0082 LISTBOX_COEF=0.00173 # 0.02472 # Change history # 2016-08-11