Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
93c9f5f3
Commit
93c9f5f3
authored
Dec 16, 2019
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust timings as new hardware is faster than previous one.
parent
45f71807
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
product/ERP5/tests/testSimulationElementPerformance.py
product/ERP5/tests/testSimulationElementPerformance.py
+11
-11
product/ERP5Type/tests/testPerformance.py
product/ERP5Type/tests/testPerformance.py
+12
-12
No files found.
product/ERP5/tests/testSimulationElementPerformance.py
View file @
93c9f5f3
...
...
@@ -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
):
...
...
product/ERP5Type/tests/testPerformance.py
View file @
93c9f5f3
...
...
@@ -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.0
333
#
0.0020, 0.260
MAX_TIC
=
0.0
354
#
0.0090, 0.343
MIN_OBJECT_CREATION
=
0.0
130
#
0.0010, 0.0070
MAX_OBJECT_CREATION
=
0.0
145
#
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.0
073
# 0.0333
0.0020, 0.260
MAX_TIC
=
0.0
150
# 0.0354
0.0090, 0.343
MIN_OBJECT_CREATION
=
0.0
053
# 0.0130
0.0010, 0.0070
MAX_OBJECT_CREATION
=
0.0
068
# 0.0145
0.0040, 0.0082
LISTBOX_COEF
=
0.00173
# 0.02472
# Change history
# 2016-08-11
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment