Skip to content

Commit

Permalink
Removed unsightly colon from validity message
Browse files Browse the repository at this point in the history
  • Loading branch information
bmsgit1 authored Aug 9, 2024
1 parent 1551d27 commit 257c627
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions base_loadgen_experiment/code_axs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def parse_summary(abs_log_summary_path):

return parsed_summary


def beautify_summary(parsed_summary):

ureg = UnitRegistry()
Expand Down Expand Up @@ -71,7 +72,8 @@ def calc_latency_cutoff_ratio(parsed_summary):

if scenario == "Server":
return parsed_summary["99.00_percentile_latency_ns"]/parsed_summary["target_latency_ns"]



#returns list of formatted performance metrics (as strings) for given experiment
def parse_performance(beautified_summary, latency_cutoff_ratio, scenario_performance_map, raw=False):

Expand All @@ -82,7 +84,7 @@ def parse_performance(beautified_summary, latency_cutoff_ratio, scenario_perform
return None

performance_metrics = scenario_performance_map[scenario][validity]
formatted_performance_metrics = ['{} :'.format(validity)] # set first element
formatted_performance_metrics = ['{}'.format(validity)] # set first element

for key_name in performance_metrics:

Expand Down

0 comments on commit 257c627

Please sign in to comment.