Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Report: data
[csit.git]
/
resources
/
tools
/
presentation
/
generator_tables.py
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
af5fcd1
..
e66047f
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-183,12
+183,13
@@
def table_performance_improvements(table, input_data):
for build in data[job]:
try:
data_lst.append(float(build[tmpl_item[0]]["throughput"]
for build in data[job]:
try:
data_lst.append(float(build[tmpl_item[0]]["throughput"]
- ["value"])
/ 1000000
)
+ ["value"]))
except (KeyError, TypeError):
# No data, ignore
continue
if data_lst:
except (KeyError, TypeError):
# No data, ignore
continue
if data_lst:
- tbl_item.append({"data": eval(operation)(data_lst)})
+ tbl_item.append({"data": (eval(operation)(data_lst)) /
+ 1000000})
else:
tbl_item.append({"data": None})
elif cmd == "operation":
else:
tbl_item.append({"data": None})
elif cmd == "operation":