X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=csit.infra.dash%2Fapp%2Fcdash%2Futils%2Fconstants.py;h=1aedb9b96fb5f0eb064624dbb956ea5e5eb6b398;hb=0fc5aff9887fa7a3125c71d0662475a3f9a763ba;hp=4eb52d211781a9dfbdcb7e225aa233bbbece84a9;hpb=a214378b5d0589fcbd9a9cc8c9b25bce8a862cec;p=csit.git diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py index 4eb52d2117..1aedb9b96f 100644 --- a/csit.infra.dash/app/cdash/utils/constants.py +++ b/csit.infra.dash/app/cdash/utils/constants.py @@ -142,6 +142,7 @@ class Constants: NORM_FREQUENCY = 2.0 # [GHz] FREQUENCY = { # [GHz] + "1n-aws": 1.000, "2n-aws": 1.000, "2n-dnv": 2.000, "2n-clx": 2.300, @@ -203,9 +204,10 @@ class Constants: "ndr": "result_ndr_lower_rate_value", "pdr": "result_pdr_lower_rate_value", "pdr-lat": "result_latency_forward_pdr_50_avg", - "cps": "result_bandwidth_value", - "rps": "result_bandwidth_value", - "bps": "result_bandwidth_value" + "hoststack-cps": "result_rate_value", + "hoststack-rps": "result_rate_value", + "hoststack-bps": "result_bandwidth_value", + "hoststack-lat": "result_latency_value" } VALUE_ITER = { @@ -213,9 +215,10 @@ class Constants: "ndr": "result_ndr_lower_rate_value", "pdr": "result_pdr_lower_rate_value", "pdr-lat": "result_latency_forward_pdr_50_avg", - "cps": "result_bandwidth_value", - "rps": "result_bandwidth_value", - "bps": "result_bandwidth_value" + "hoststack-cps": "result_rate_value", + "hoststack-rps": "result_rate_value", + "hoststack-bps": "result_bandwidth_value", + "hoststack-lat": "result_latency_value" } UNIT = { @@ -223,9 +226,10 @@ class Constants: "ndr": "result_ndr_lower_rate_unit", "pdr": "result_pdr_lower_rate_unit", "pdr-lat": "result_latency_forward_pdr_50_unit", - "cps": "result_bandwidth_unit", - "rps": "result_bandwidth_unit", - "bps": "result_bandwidth_unit" + "hoststack-cps": "result_rate_unit", + "hoststack-rps": "result_rate_unit", + "hoststack-bps": "result_bandwidth_unit", + "hoststack-lat": "result_latency_unit" } # Latencies. @@ -287,6 +291,18 @@ class Constants: # Default name of downloaded file with selected data. REPORT_DOWNLOAD_FILE_NAME = "iterative_data.csv" + ############################################################################ + # Comparisons. + + # The title. + COMP_TITLE = "Per Release Performance Comparisons" + + # The pathname prefix for the application. + COMP_ROUTES_PATHNAME_PREFIX = "/comparisons/" + + # Default name of downloaded file with selected data. + COMP_DOWNLOAD_FILE_NAME = "comparison_data.csv" + ############################################################################ # Statistics.