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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
erp5
Commits
b5d7c11c
Commit
b5d7c11c
authored
Dec 07, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore meaningless use case results which equal to 0 (upon error only).
parent
4674a7af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
erp5/util/benchmark/report.py
erp5/util/benchmark/report.py
+2
-0
No files found.
erp5/util/benchmark/report.py
View file @
b5d7c11c
...
@@ -154,6 +154,8 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
...
@@ -154,6 +154,8 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
if
use_case_suite
:
if
use_case_suite
:
current_count
=
int
(
row
)
current_count
=
int
(
row
)
current_duration
=
int
(
row_iter
.
next
()[
1
])
/
60.0
current_duration
=
int
(
row_iter
.
next
()[
1
])
/
60.0
if
not
current_count
:
continue
# For stats by iteration, used later on to generate cases per
# For stats by iteration, used later on to generate cases per
# minutes plot for a given number of users
# minutes plot for a given number of users
...
...
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