Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
c7ead437
Commit
c7ead437
authored
Dec 07, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix misleading variable name.
parent
b5d7c11c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
erp5/util/benchmark/report.py
erp5/util/benchmark/report.py
+4
-4
No files found.
erp5/util/benchmark/report.py
View file @
c7ead437
...
...
@@ -143,7 +143,7 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
raise
AssertionError
,
"ERROR: Result labels: %s != %s"
%
\
(
label_list
,
row_list
)
row
_index
=
0
iteration
_index
=
0
for
row_list
in
reader
:
row_iter
=
iter
(
enumerate
(
row_list
))
for
idx
,
row
in
row_iter
:
...
...
@@ -164,8 +164,8 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
duration_stat_list
=
by_iteration_dict
[
'duration_stats'
]
try
:
stat_count
=
count_stat_list
[
row
_index
]
stat_duration
=
duration_stat_list
[
row
_index
]
stat_count
=
count_stat_list
[
iteration
_index
]
stat_duration
=
duration_stat_list
[
iteration
_index
]
except
IndexError
:
stat_count
=
BenchmarkResultStatistic
(
use_case_suite
,
'Use cases count'
)
...
...
@@ -183,7 +183,7 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
index
=
merged_label_dict
.
get
(
label_list
[
idx
],
idx
)
stat_list
[
index
].
add
(
float
(
row
))
row
_index
+=
1
iteration
_index
+=
1
return
stat_list
,
use_case_suite_dict
...
...
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