MCPcopy Create free account
hub / github.com/eth-easl/dirigent / get_dirigent_data

Function get_dirigent_data

artifact_evaluation/plot_cold_start_sweep.py:95–110  ·  view source on GitHub ↗
(technology)

Source from the content-addressed store, hash-verified

93
94
95def get_dirigent_data(technology):
96 x_values, files = get_processing_list(f"cold_start_sweep/dirigent/results_{technology}/")
97
98 dirigent_y_p50 = []
99 dirigent_y_p99 = []
100
101 for rps in files:
102 df = pd.read_csv(rps)
103
104 p50 = df['responseTime'].quantile(0.5) / 1000 # ms
105 p99 = df['responseTime'].quantile(0.99) / 1000 # ms
106
107 dirigent_y_p50.append(p50)
108 dirigent_y_p99.append(p99)
109
110 return x_values, dirigent_y_p50, dirigent_y_p99
111
112
113def cold_start_sweep():

Callers 1

cold_start_sweepFunction · 0.85

Calls 1

get_processing_listFunction · 0.85

Tested by

no test coverage detected