aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-12-09 16:04:42 +0100
committerJan Gelety <jgelety@cisco.com>2019-12-09 16:04:42 +0000
commit870829e027772cdad6b69794bce63f0458121f1a (patch)
tree9246eb8b4395d8ad84d48eaf92fc4c1eb13427ff /resources/tools
parent526d34a0373b73185ecc6a877724418135efa88e (diff)
Perpatch compare: avg_diff is not an int
Change-Id: I1d003cb517ef95c76002862e540497d8c40cb913 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r--resources/tools/integrated/compare_perpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/integrated/compare_perpatch.py b/resources/tools/integrated/compare_perpatch.py
index 72ae5751d3..9058332158 100644
--- a/resources/tools/integrated/compare_perpatch.py
+++ b/resources/tools/integrated/compare_perpatch.py
@@ -100,7 +100,7 @@ for test_index in range(num_tests):
[current_stats])
print(f"Value-ordered MRR values for parent build: {parent_values}")
print(f"Value-ordered MRR values for current build: {current_values}")
- avg_diff = (current_stats.avg - parent_stats.avg) // parent_stats.avg
+ avg_diff = (current_stats.avg - parent_stats.avg) / parent_stats.avg
print(f"Difference of averages relative to parent: {100 * avg_diff}%")
print(f"Jumpavg representation of parent group: {parent_stats}")
print(f"Jumpavg representation of current group: {current_stats}")