diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2016-08-20 02:09:50 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2016-08-22 12:36:16 -0300 |
commit | cf91133809bab11ee43f20178944f91b1466bfd5 (patch) | |
tree | 1b1e16ffb438a36275a57e1476964a97463963ec /testing/tests | |
parent | fa4bf209bef0ca4fd6145c8d518c3d99f770cb65 (diff) |
[test] calibrate encdecpool bench for memory
1000 docs at 100k~500k are exploding memory (4Gb+4Gb swap).
Changed for 100 docs in order to be able to get measures on higher
loads. Now its 10k, 100k and 500k
Diffstat (limited to 'testing/tests')
-rw-r--r-- | testing/tests/perf/test_encdecpool.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/testing/tests/perf/test_encdecpool.py b/testing/tests/perf/test_encdecpool.py index abc58e35..681b909a 100644 --- a/testing/tests/perf/test_encdecpool.py +++ b/testing/tests/perf/test_encdecpool.py @@ -35,10 +35,9 @@ def create_encrypt(amount, size): yield txbenchmark_with_setup(setup, put_and_wait) return test -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) +test_encdecpool_encrypt_100_10k = create_encrypt(100, 10*1000) +test_encdecpool_encrypt_100_100k = create_encrypt(100, 100*1000) +test_encdecpool_encrypt_100_500k = create_encrypt(100, 500*1000) def create_decrypt(amount, size): @@ -76,9 +75,6 @@ def create_decrypt(amount, size): yield txbenchmark_with_setup(setup, put_and_wait) return test -test_encdecpool_decrypt_1000_10k = create_decrypt(1000, 10*1000) -test_encdecpool_decrypt_1000_100k = create_decrypt(1000, 10*1000) -# memory issues ahead -# 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) +test_encdecpool_decrypt_100_10k = create_decrypt(100, 10*1000) +test_encdecpool_decrypt_100_100k = create_decrypt(100, 100*1000) +test_encdecpool_decrypt_100_500k = create_decrypt(100, 500*1000) |