aboutsummaryrefslogtreecommitdiffstats
path: root/data/ref_results/generator_ref_json.py
blob: a82dbc5d3fec1a5b93166fef02f4d4b031479726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import os
import json

dict_ref={};
dict_ref['compute']={};
dict_ref['compute']['dpi']=8.12
dict_ref['compute']['whetstone']=859.1
dict_ref['compute']['dhrystone']=3146.66
dict_ref['compute']['ssl']={};
dict_ref['compute']['ssl']['RSA']={};
dict_ref['compute']['ssl']['AES']={};
dict_ref['compute']['ssl']['RSA']['512b']=22148.9
dict_ref['compute']['ssl']['RSA']['1024b']=7931.44
dict_ref['compute']['ssl']['RSA']['2048b']=1544.3
dict_ref['compute']['ssl']['RSA']['4096b']=161.92

dict_ref['compute']['ssl']['AES']['16B']=735490250
dict_ref['compute']['ssl']['AES']['64B']=788429210
dict_ref['compute']['ssl']['AES']['256B']=803323650
dict_ref['compute']['ssl']['AES']['1024B']=808861020
dict_ref['compute']['ssl']['AES']['8192B']=807701160

dict_ref['compute']['ramspeed']={};
dict_ref['compute']['ramspeed']['INTmem']={};
dict_ref['compute']['ramspeed']['FLOATmem']={};
dict_ref['compute']['ramspeed']['INTmem']['Average (MB/s)']=11775.85
dict_ref['compute']['ramspeed']['FLOATmem']['Average (MB/s)']=9780.23

dict_ref['storage']={};
dict_ref['storage']['read']={};
dict_ref['storage']['write']={};
dict_ref['storage']['read']['IOPS']= 6995
dict_ref['storage']['write']['IOPS']= 6990

dict_ref['network']={};
dict_ref['network']['iperf']={};
dict_ref['network']['iperf']['throughput received(b/s)']=9973180000.0

with open('reference.json', 'w+') as result_json:
    json.dump(dict_ref, result_json, indent=4, sort_keys=True)