Modifications to the index calculation script 75/6675/1
authorNauman_Ahad <Nauman_Ahad@dell.com>
Mon, 11 Jan 2016 10:09:12 +0000 (15:09 +0500)
committerNauman Ahad <Nauman_Ahad@dell.com>
Thu, 14 Jan 2016 11:52:31 +0000 (11:52 +0000)
Modifications to the index calulation script.
Key for each suite changed to "Index" from  "<suite> Index".
This is to reuse code for the dashboard.py file for QTIP

Change-Id: I6e8c8c268b7d9376b0f44d572ed022910e8ad4d9
Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
(cherry picked from commit 3c194a8bf95ab68d440b68587ba7f36a921116de)

data/ref_results/compute_suite.py
data/ref_results/network_suite.py
data/ref_results/storage_suite.py

index a57a4b0..78eaae6 100644 (file)
@@ -15,7 +15,7 @@ for benchmark in compute_bench_list:
 compute_suite_index=temp/len(compute_bench_list)
 
 compute_dict_f={};
-compute_dict_f['1. Compute Index']=compute_suite_index
+compute_dict_f['1. Index']=compute_suite_index
 compute_dict_f['2. Compute suite results']=compute_dict
 with open('../../results/compute_result.json', 'w+') as result_json:
     json.dump(compute_dict_f, result_json, indent=4, sort_keys=True)
index df80b8b..0e687f6 100644 (file)
@@ -15,7 +15,7 @@ for benchmark in network_bench_list:
 network_suite_index=temp/len(network_bench_list)
 
 network_dict_f={};
-network_dict_f['1. Network Index']=network_suite_index
+network_dict_f['1. Index']=network_suite_index
 network_dict_f['2. Network suite results']=network_dict
 with open('../../results/network_result.json', 'w+') as result_json:
     json.dump(network_dict_f, result_json, indent=4, sort_keys=True)
index fe4e940..0c5b4c6 100644 (file)
@@ -15,7 +15,7 @@ for benchmark in storage_bench_list:
 storage_suite_index=temp/len(storage_bench_list)
 
 storage_dict_f={};
-storage_dict_f['1. Storage Index']=storage_suite_index
+storage_dict_f['1. Index']=storage_suite_index
 storage_dict_f['2. Storage suite results']=storage_dict
 with open('../../results/storage_result.json', 'w+') as result_json:
     json.dump(storage_dict_f, result_json, indent=4, sort_keys=True)