From ffcf925b2f686bf368c6ee4adb08c7075b732d63 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 15 Aug 2022 13:39:05 +0200 Subject: [PATCH] UTI: Set the time period for news to 180 days - It is defined by the constant TIME_PERIOD, so it is the same as for the trending. - The jumpavg lib is now much faster so we can use full scale for news. Change-Id: Id092efa544e4ee2111564e09fb71fb6c3b48a73b Signed-off-by: Tibor Frank --- resources/tools/dash/app/pal/utils/constants.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/resources/tools/dash/app/pal/utils/constants.py b/resources/tools/dash/app/pal/utils/constants.py index cc4a9e0f23..b95a8f5456 100644 --- a/resources/tools/dash/app/pal/utils/constants.py +++ b/resources/tools/dash/app/pal/utils/constants.py @@ -253,12 +253,8 @@ class Constants: # The default job displayed when the page is loaded first time. NEWS_DEFAULT_JOB = "csit-vpp-perf-mrr-daily-master-2n-icx" - # Time period for regressions and progressions. Be CAREFULL with this - # number. Setting it too high causes long processing time during the - # application start-up. - # If NEWS_TIME_PERIOD = 180, it takes approx. 35 minutes to calculate - # annomalies for all tests. - NEWS_TIME_PERIOD = 21 # [days] + # Time period for regressions and progressions. + NEWS_TIME_PERIOD = TIME_PERIOD # [days] ############################################################################ # Report. -- 2.16.6