From 870829e027772cdad6b69794bce63f0458121f1a Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Mon, 9 Dec 2019 16:04:42 +0100 Subject: [PATCH] Perpatch compare: avg_diff is not an int Change-Id: I1d003cb517ef95c76002862e540497d8c40cb913 Signed-off-by: Vratko Polak --- resources/tools/integrated/compare_perpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") -- 2.16.6