(path)
| 125 | return cdf(df, 'responseTime') |
| 126 | |
| 127 | def get_per_function(path): |
| 128 | df = pd.read_csv(path) |
| 129 | |
| 130 | df['responseTime'] -= df['actualDuration'] |
| 131 | df['responseTime'] /= 1000 # to ms |
| 132 | |
| 133 | df = df.apply(lambda x: x.replace({'(\-[0-9]+(\-[0-9]+\-deployment\-[0-9A-Za-z\-]+){0,1})$': ""}, regex=True)) |
| 134 | |
| 135 | test = df.groupby('instance')['responseTime'].mean().to_frame() |
| 136 | |
| 137 | return cdf(test, 'responseTime') |
| 138 | |
| 139 | fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(8, 4)) |
| 140 |
no test coverage detected