summaryrefslogtreecommitdiff
path: root/testing/tests/perf/test_encdecpool.py
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2016-08-20 01:27:47 -0300
committerVictor Shyba <victor.shyba@gmail.com>2016-08-22 12:36:16 -0300
commit585d6b2461869594210639548549aa6be336e752 (patch)
tree009b19ad70caaae193abe59550eba3d6eb36774b /testing/tests/perf/test_encdecpool.py
parent062d781b734db60d0ae317eaf5b86c7d75abacd9 (diff)
[test] adds test for SoledadCrypto
10k, 100k, 500k, 1m, 10m and 50m for encryption and decryption of a whole document.
Diffstat (limited to 'testing/tests/perf/test_encdecpool.py')
-rw-r--r--testing/tests/perf/test_encdecpool.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/testing/tests/perf/test_encdecpool.py b/testing/tests/perf/test_encdecpool.py
index dbbbea89..abc58e35 100644
--- a/testing/tests/perf/test_encdecpool.py
+++ b/testing/tests/perf/test_encdecpool.py
@@ -35,10 +35,10 @@ def create_encrypt(amount, size):
yield txbenchmark_with_setup(setup, put_and_wait)
return test
-test_encrypt_1000_10k = create_encrypt(1000, 10*1000)
-# test_encrypt_1000_500k = create_encrypt(1000, 500*1000)
-# test_encrypt_1000_1M = create_encrypt(1000, 1000*1000)
-# test_encrypt_1000_10M = create_encrypt(1000, 10*1000*1000)
+test_encdecpool_encrypt_1000_10k = create_encrypt(1000, 10*1000)
+# test_encdecpool_encrypt_1000_500k = create_encrypt(1000, 500*1000)
+# test_encdecpool_encrypt_1000_1M = create_encrypt(1000, 1000*1000)
+# test_encdecpool_encrypt_1000_10M = create_encrypt(1000, 10*1000*1000)
def create_decrypt(amount, size):
@@ -76,9 +76,9 @@ def create_decrypt(amount, size):
yield txbenchmark_with_setup(setup, put_and_wait)
return test
-test_decrypt_1000_10k = create_decrypt(1000, 10*1000)
-test_decrypt_1000_100k = create_decrypt(1000, 10*1000)
+test_encdecpool_decrypt_1000_10k = create_decrypt(1000, 10*1000)
+test_encdecpool_decrypt_1000_100k = create_decrypt(1000, 10*1000)
# memory issues ahead
-# test_decrypt_1000_500k = create_decrypt(1000, 500*1000)
-# test_decrypt_1000_1M = create_decrypt(1000, 1000*1000)
-# test_decrypt_1000_10M = create_decrypt(1000, 10*1000*1000)
+# test_encdecpool_decrypt_1000_500k = create_decrypt(1000, 500*1000)
+# test_encdecpool_decrypt_1000_1M = create_decrypt(1000, 1000*1000)
+# test_encdecpool_decrypt_1000_10M = create_decrypt(1000, 10*1000*1000)