From 20cc7ad7645e5a84ed11ec2149df91a9770fea6c Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 14 Sep 2017 19:56:20 -0300 Subject: [refactor] improve instructions and fix small typos --- scripts/benchmark/sqlite-blobs-backend/README.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'scripts/benchmark/sqlite-blobs-backend/README.rst') diff --git a/scripts/benchmark/sqlite-blobs-backend/README.rst b/scripts/benchmark/sqlite-blobs-backend/README.rst index 2d7a257f..991292b7 100644 --- a/scripts/benchmark/sqlite-blobs-backend/README.rst +++ b/scripts/benchmark/sqlite-blobs-backend/README.rst @@ -14,10 +14,12 @@ twice by default, you should remove the second call to pytest in `tox.ini` that would cause a second run of the tests for measuring memory. This script only plots time, for now. -Once you done the above, chdir into `soledad/tests` and do something like this: - - tox -e benchmarks -- -m sqlite_blobs_backend_get --benchmark-autosave - tox -e benchmarks -- -m sqlite_blobs_backend_put --benchmark-autosave +Once you done the above, do the following to benchmark and generate data: +```bash + chdir soledad/tests + tox -e benchmark -- -m sqlite_blobs_backend_get --benchmark-autosave + tox -e benchmark -- -m sqlite_blobs_backend_put --benchmark-autosave +``` Each run of tox as above produces a JSON file in `soledad/tests/.benchmarks` with stats. Copy the first file into `data/get.json` and the second file into -- cgit v1.2.3