Commit 5a7536ce authored by Rafael Monnerat's avatar Rafael Monnerat

PerformanceTests: Update to the new hardware

  Performance tests were reconfigured on a new hardware, which is slower them
  the previous one. So this commit move the values to the new hardware based on
  the results after few days of result.
parent b1798654
......@@ -112,26 +112,26 @@ HISTORICAL_EXPECTED_MIN_MAX_TIME = {
}
EXPECTED_MIN_MAX_TIME = {
'Creation Of New Applied Rules': (5, 10),
'Creation Of New Applied Rules': (30, 35),
'Expansion of Existing Applied Rules': (5, 10),
'Expansion of Existing Applied Rules': (41, 47),
'Creation of New Sale Packing Lists': (5, 10),
'Creation of New Sale Packing Lists': (27, 32),
'Expansion of Converged Changes': (8, 12),
'Expansion of Converged Changes': (48, 54),
'Expansion of Diverged Changes': (9, 13),
'Expansion of Diverged Changes': (53, 59),
'Adoption of Previsions': (20, 25),
'Adoption of Previsions': (105, 114),
'Acceptance of Decisions': (20, 25),
'Acceptance of Decisions': (104, 113),
'Creation of New Applied Rules from Partially Simulated Deliveries':
(12, 17),
(38, 44),
'Creation Of New Sale Invoices': (9, 14),
'Creation Of New Sale Invoices': (48, 54),
'Addition of New Invoices Lines': (32, 39),
'Addition of New Invoices Lines': (116, 125),
}
class TestSimulationPerformance(ERP5TypeTestCase, LogInterceptor):
......
......@@ -44,22 +44,24 @@ import os
# specific testing environment. We must always try to stay below max
# historical values.
# Historical values
MIN_OBJECT_VIEW=0.020 # 0.112
MAX_OBJECT_VIEW=0.050 # 0.120
MIN_OBJECT_MANY_LINES_VIEW=0.040 # 0.274
MAX_OBJECT_MANY_LINES_VIEW=0.090 # 0.294
MIN_OBJECT_PROXYFIELD_VIEW=0.020 # 0.199
MAX_OBJECT_PROXYFIELD_VIEW=0.090 # 0.220
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
#CURRENT_MIN_OBJECT_VIEW=0.1220
#CURRENT_MAX_OBJECT_VIEW=0.1280
MIN_MODULE_VIEW=0.020 # 0.125
MAX_MODULE_VIEW=0.070 # 0.175
MIN_TIC=0.0020 # 0.260
MAX_TIC=0.0090 # 0.343
MIN_OBJECT_CREATION=0.0010 # 0.0070
MAX_OBJECT_CREATION=0.0040 # 0.0082
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
LISTBOX_COEF=0.00173 # 0.02472
# Change history
# 2016-08-11
# Adapt values with new hardware from online.net.
# 2013-03-01
# Adapt values with new hardware and last improvements
# 2010-02-09
......
  • The hardware change was from an I7 CPU (8 cores) to an Atom one (8 Cores) which is much much slower. Use slower hardware is better for Performance tests as it can make improvements more visible.

    Test results will be produced/launched for the past revisions in order to detect eventual performance decreasements introduced overtime.

  • You didn't update the pystone line.

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