From 1dc2c18f02e62644da00cb0e3326f357953f5c84 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 19 Aug 2016 17:08:20 -0300 Subject: [test] test soledad instatiation time It has a heavy scrypt hashing processing with room for improvement. --- testing/tests/perf/test_misc.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testing/tests/perf/test_misc.py (limited to 'testing/tests/perf/test_misc.py') 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) -- cgit v1.2.3 From bebbaad4988c4f4ec26d37791f7738ea27719fca Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 23 Aug 2016 15:53:04 -0300 Subject: [test] test_instance -> test_initialization This isnt a test, but a benchmark. Initialization sounds more like an operation while instance is just something. --- testing/tests/perf/test_misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tests/perf/test_misc.py') diff --git a/testing/tests/perf/test_misc.py b/testing/tests/perf/test_misc.py index c2f8e3b1..ead48adf 100644 --- a/testing/tests/perf/test_misc.py +++ b/testing/tests/perf/test_misc.py @@ -2,5 +2,5 @@ import pytest @pytest.mark.benchmark(group="test_instance") -def test_instance(soledad_client, benchmark): +def test_initialization(soledad_client, benchmark): benchmark(soledad_client) -- cgit v1.2.3