File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ dom0-packages:
18
18
- btrfs-progs
19
19
- python3-nose2
20
20
- python3-objgraph
21
+ - python3-deepmerge
21
22
- patch
22
23
- qubes-video-companion-dom0
23
24
- split-gpg2-dom0
Original file line number Diff line number Diff line change @@ -341,14 +341,11 @@ def get_performance_data(self):
341
341
342
342
343
343
if 'dispvm_perf' in json_data ['job' ]['name' ]:
344
- for line in perf_data .split ("\n " ):
345
- if not line :
346
- continue
347
- data = line .split (" " )
348
- name = data [0 ]
349
- value = data [1 ]
350
- data_dict = dict (item .split ("=" , maxsplit = 1 ) for item in data [2 :])
351
- key = name + "(avg:" + data_dict ["average" ] + ")"
344
+ data = json .loads (perf_data )
345
+ for key , value in data .items ():
346
+ name = value ["name" ]
347
+ mean = value ["mean" ]
348
+ key = name + "(mean:" + mean + ")"
352
349
result [key ] = float (value )
353
350
return result
354
351
You can’t perform that action at this time.
0 commit comments