Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e7f9cb1
)
Report: Add historical data to performance changes table
96/12196/2
author
Tibor Frank
<tifrank@cisco.com>
Thu, 26 Apr 2018 18:10:17 +0000
(18:10 +0000)
committer
Tibor Frank
<tifrank@cisco.com>
Thu, 26 Apr 2018 18:12:25 +0000
(18:12 +0000)
Change-Id: Ia1e224ecade79c54b373ba3e8ac53c21c054f648
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py
patch
|
blob
|
history
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
f86bc1a
..
46aa71c
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-468,8
+468,8
@@
def table_performance_comparison(table, input_data):
item.extend([None, None])
else:
item.extend([None, None])
- if item[-
5] is not None and item[-3] is not None and item[-5
] != 0:
- item.append(int(relative_change(float(item[-
5]), float(item[-3
]))))
+ if item[-
4] is not None and item[-2] is not None and item[-4
] != 0:
+ item.append(int(relative_change(float(item[-
4]), float(item[-2
]))))
if len(item) == len(header):
tbl_lst.append(item)