Commit 14bbb39b authored by Sebastien Robin's avatar Sebastien Robin

performance values are much better than before (except solving), make test passing

parent be707693
......@@ -83,12 +83,13 @@ from Products.ERP5Type.tests.Sequence import SequenceList
# Define variable to chek if performance are good or not
# XXX These variable are specific to the testing environment
# (pystone results: min: < 75757.6 - mean: ~ 77174.4 - max: > 78125)
# (pystone results: min: < 131578.9 - mean: ~ 139768.5 - max: > 147058.8)
# Historical values are here to remember original values on this
# specific testing environment. We must always try to stay below max
# historical values.
EXPECTED_MIN_MAX_TIME = {
# Only for information
HISTORICAL_EXPECTED_MIN_MAX_TIME = {
'Creation Of New Applied Rules': (34.8, 36.8),
'Expansion of Existing Applied Rules': (16.9, 19.5),
......@@ -111,6 +112,29 @@ EXPECTED_MIN_MAX_TIME = {
'Addition of New Invoices Lines': (145.1, 157.6),
}
EXPECTED_MIN_MAX_TIME = {
'Creation Of New Applied Rules': (5, 10),
'Expansion of Existing Applied Rules': (5, 10),
'Creation of New Sale Packing Lists': (5, 10),
'Expansion of Converged Changes': (8, 12),
'Expansion of Diverged Changes': (9, 13),
'Adoption of Previsions': (20, 25),
'Acceptance of Decisions': (20, 25),
'Creation of New Applied Rules from Partially Simulated Deliveries':
(12, 17),
'Creation Of New Sale Invoices': (9, 14),
'Addition of New Invoices Lines': (36, 44),
}
class TestSimulationPerformance(ERP5TypeTestCase, LogInterceptor):
def getTitle(self):
......
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