mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: store additional data in bench results (#1341)
This commit is contained in:
parent
19507677c1
commit
62c437246b
@ -33,4 +33,6 @@ def evaluate(log_path) -> Dict[str, Dict[str, float]]:
|
|||||||
raise Exception(
|
raise Exception(
|
||||||
f"Error: Unexpected fio test: {test['jobname']}"
|
f"Error: Unexpected fio test: {test['jobname']}"
|
||||||
)
|
)
|
||||||
|
# Get volume size. Format is 400Gi.
|
||||||
|
result['volumesize'] = int(fio[0]['Raw']['size'][:-2])
|
||||||
return result
|
return result
|
||||||
|
@ -18,8 +18,9 @@ def evaluate(log_path) -> Dict[str, Dict[str, float]]:
|
|||||||
data = knb['data']
|
data = knb['data']
|
||||||
result = {'pod2pod': {}, 'pod2svc': {}}
|
result = {'pod2pod': {}, 'pod2svc': {}}
|
||||||
result['pod2pod']['tcp_bw_mbit'] = float(data['pod2pod']['tcp']['bandwidth'])
|
result['pod2pod']['tcp_bw_mbit'] = float(data['pod2pod']['tcp']['bandwidth'])
|
||||||
result['pod2pod']['upd_bw_mbit'] = float(data['pod2pod']['udp']['bandwidth'])
|
result['pod2pod']['udp_bw_mbit'] = float(data['pod2pod']['udp']['bandwidth'])
|
||||||
result['pod2svc']['tcp_bw_mbit'] = float(data['pod2svc']['tcp']['bandwidth'])
|
result['pod2svc']['tcp_bw_mbit'] = float(data['pod2svc']['tcp']['bandwidth'])
|
||||||
result['pod2svc']['upd_bw_mbit'] = float(data['pod2svc']['udp']['bandwidth'])
|
result['pod2svc']['udp_bw_mbit'] = float(data['pod2svc']['udp']['bandwidth'])
|
||||||
|
result['mtu'] = int(data['mtu'])
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user