diff options
Diffstat (limited to 'benchmarks/playbooks/result_transform')
-rw-r--r-- | benchmarks/playbooks/result_transform/dpi/dpi_transform.py | 7 | ||||
-rw-r--r-- | benchmarks/playbooks/result_transform/ssl/ssl_transform.py | 16 |
2 files changed, 1 insertions, 22 deletions
diff --git a/benchmarks/playbooks/result_transform/dpi/dpi_transform.py b/benchmarks/playbooks/result_transform/dpi/dpi_transform.py index 2aa45757..b95e0e23 100644 --- a/benchmarks/playbooks/result_transform/dpi/dpi_transform.py +++ b/benchmarks/playbooks/result_transform/dpi/dpi_transform.py @@ -46,9 +46,4 @@ result = {} result['DPI_benchmark(M pps)'] = round(dpi_result_pps, 3) result['DPI_benchmark(Gb/s)'] = round(dpi_result_bps, 3) with open('./result_temp', 'w+') as result_file: - pickle.dump(result, result_file) -<<<<<<< HEAD - -======= -print json.dumps(result, indent=4, sort_keys=True) ->>>>>>> 5a7dcc0... Networking testcases for QTIP Framework + pickle.dump(result, result_file)
\ No newline at end of file diff --git a/benchmarks/playbooks/result_transform/ssl/ssl_transform.py b/benchmarks/playbooks/result_transform/ssl/ssl_transform.py index 575b94a0..20ca5cff 100644 --- a/benchmarks/playbooks/result_transform/ssl/ssl_transform.py +++ b/benchmarks/playbooks/result_transform/ssl/ssl_transform.py @@ -35,11 +35,7 @@ aes_1024B = os.popen( aes_8192B = os.popen( "cat AES-128-CBC_dump | grep 'aes-128-cbc ' | awk '{print $6}' ").read().rstrip() -<<<<<<< HEAD -======= -# def get_nova_client(self): ->>>>>>> 5a7dcc0... Networking testcases for QTIP Framework hostname = os.popen("hostname").read().rstrip() time_stamp = str(datetime.datetime.utcnow().isoformat()) @@ -47,13 +43,7 @@ time_stamp = str(datetime.datetime.utcnow().isoformat()) os.system("mv RSA_dump " + hostname + "-" + time_stamp + ".log") os.system("cat AES-128-CBC_dump >> " + hostname + "-" + time_stamp + ".log") -<<<<<<< HEAD -======= -# if self._glance_client is None: -## keystone = self.get_keystone_client() -# nova = client.Client('2', token = keystone.auth_token) ->>>>>>> 5a7dcc0... Networking testcases for QTIP Framework result = {} @@ -75,9 +65,3 @@ result['3. AES-128-cbc throughput']['5. 16 Bytes block (B/sec)'] = [aes_8192B] with open('./result_temp', 'w+') as result_file: pickle.dump(result, result_file) -<<<<<<< HEAD - -======= -# print json.dumps(result, indent=4, sort_keys=True) -# print result.items() ->>>>>>> 5a7dcc0... Networking testcases for QTIP Framework |