diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-12-09 16:04:42 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-12-09 16:04:42 +0000 |
commit | 870829e027772cdad6b69794bce63f0458121f1a (patch) | |
tree | 9246eb8b4395d8ad84d48eaf92fc4c1eb13427ff | |
parent | 526d34a0373b73185ecc6a877724418135efa88e (diff) |
Perpatch compare: avg_diff is not an int
Change-Id: I1d003cb517ef95c76002862e540497d8c40cb913
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-rw-r--r-- | resources/tools/integrated/compare_perpatch.py | 2 |
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}") |