aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ref_results/storage_benchmarks_indices.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-08 09:48:31 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-11 15:14:16 +0800
commit23b627df622eeafafa215ce19764310c1d55dd55 (patch)
treed92c4c9b8a50a03461a40d2a2aba67bc7312041a /scripts/ref_results/storage_benchmarks_indices.py
parent23f48e46a46976ae6f6d97aea11440e6a8b63121 (diff)
Reorganize the project folders
Code from Brahmaputra is no longer maintained, including: - docker - playbooks - scripts - utils They are moved to legacy folder to avoid unnecessary confusion to new developers. Change-Id: Ia50383ca5c3bd82571eb7b2184e7f83e264ff8a7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'scripts/ref_results/storage_benchmarks_indices.py')
-rw-r--r--scripts/ref_results/storage_benchmarks_indices.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/scripts/ref_results/storage_benchmarks_indices.py b/scripts/ref_results/storage_benchmarks_indices.py
deleted file mode 100644
index a5aef638..00000000
--- a/scripts/ref_results/storage_benchmarks_indices.py
+++ /dev/null
@@ -1,29 +0,0 @@
-from index_calculation import generic_index as get_index
-from index_calculation import get_reference
-from result_accum import result_concat as concat
-
-
-def fio_index():
- fio_dict = concat('results/fio/')
- fio_r_bm_ref = get_reference('storage', 'fio_bm', 'read', 'IOPS')
- fio_r_bm_index = get_index(fio_dict, 'fio_bm', fio_r_bm_ref, 'details', 'job_0', 'read', 'io_ps')
- fio_w_bm_ref = get_reference('storage', 'fio_bm', 'write', 'IOPS')
- fio_w_bm_index = get_index(fio_dict, 'fio_bm', fio_w_bm_ref, 'details', 'job_0', 'write', 'io_ps')
-
- fio_bm_index = (fio_r_bm_index + fio_w_bm_index) / 2
-
- fio_r_vm_ref = get_reference('storage', 'fio_vm', 'read', 'IOPS')
- fio_r_vm_index = get_index(fio_dict, 'fio_vm', fio_r_vm_ref, 'details', 'job_0', 'read', 'io_ps')
-
- fio_w_vm_ref = get_reference('storage', 'fio_vm', 'write', 'IOPS')
- fio_w_vm_index = get_index(fio_dict, 'fio_vm', fio_w_vm_ref, 'details', 'job_0', 'write', 'io_ps')
-
- fio_vm_index = (fio_r_vm_index + fio_w_vm_index) / 2
-
- fio_index = (fio_bm_index + fio_vm_index) / 2
- print fio_index
-
- fio_dict_i = {}
- fio_dict_i['index'] = fio_index
- fio_dict_i['results'] = fio_dict
- return fio_dict_i