summaryrefslogtreecommitdiff
path: root/testing/tests/perf
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2016-08-19 17:08:20 -0300
committerVictor Shyba <victor.shyba@gmail.com>2016-08-22 12:36:16 -0300
commit1dc2c18f02e62644da00cb0e3326f357953f5c84 (patch)
tree28f4ad2c2b31ae13c89b27377b43b6e71edaf550 /testing/tests/perf
parentc8c82b6663d122b0933a8459c4710c914edf7f84 (diff)
[test] test soledad instatiation time
It has a heavy scrypt hashing processing with room for improvement.
Diffstat (limited to 'testing/tests/perf')
-rw-r--r--testing/tests/perf/test_misc.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/tests/perf/test_misc.py b/testing/tests/perf/test_misc.py
new file mode 100644
index 00000000..c2f8e3b1
--- /dev/null
+++ b/testing/tests/perf/test_misc.py
@@ -0,0 +1,6 @@
+import pytest
+
+
+@pytest.mark.benchmark(group="test_instance")
+def test_instance(soledad_client, benchmark):
+ benchmark(soledad_client)