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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
erp5
Commits
14bbb39b
Commit
14bbb39b
authored
Mar 01, 2013
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
performance values are much better than before (except solving), make test passing
parent
be707693
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
product/ERP5/tests/testSimulationElementPerformance.py
product/ERP5/tests/testSimulationElementPerformance.py
+26
-2
No files found.
product/ERP5/tests/testSimulationElementPerformance.py
View file @
14bbb39b
...
...
@@ -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
):
...
...
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