Mercurial > hg > orthanc-tests
comparison PerfsDb/README.md @ 198:705fa4447154
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Jan 2019 15:28:26 +0100 |
parents | 2bc4598c849d |
children |
comparison
equal
deleted
inserted
replaced
197:2bc4598c849d | 198:705fa4447154 |
---|---|
44 python3 -m venv .env | 44 python3 -m venv .env |
45 source .env/bin/activate | 45 source .env/bin/activate |
46 pip install -r requirements.txt | 46 pip install -r requirements.txt |
47 ``` | 47 ``` |
48 | 48 |
49 To enter the virtual-env the next times: | 49 To enter the virtual-env the next times (on benchmark VM): |
50 | 50 |
51 ```bash | 51 ```bash |
52 cd /data-hdd-3g/orthanc-tests/PerfsDb | |
52 source .env/bin/activate | 53 source .env/bin/activate |
53 ``` | 54 ``` |
54 | 55 |
55 Initializing a DB before tests | 56 Initializing a DB before tests |
56 ----------------- | 57 ----------------- |
58 ```bash | 59 ```bash |
59 on amazy PC: | 60 on amazy PC: |
60 python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/mysql-release/ --init --mysql-tiny | 61 python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/mysql-release/ --init --mysql-tiny |
61 | 62 |
62 on benchmark VM: | 63 on benchmark VM: |
63 python Run.py --orthanc-path=/data-hdd-3g/orthanc-binaries/ --plugins-path=/data-hdd-3g/orthanc-binaries/ --init --pg9bis-tiny | 64 python Run.py --orthanc-path=/data-hdd-3g/orthanc-binaries/ --plugins-path=/data-hdd-3g/orthanc-binaries/ --init --pg9bis-small |
64 ``` | 65 ``` |
65 | 66 |
66 Clearing a DB | 67 Clearing a DB |
67 ----------------- | 68 ----------------- |
68 | 69 |
69 ```bash | 70 ```bash |
70 on amazy PC: | 71 on amazy PC: |
71 python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/mysql-release/ --clear --mysql-tiny | 72 python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/mysql-release/ --clear --mysql-tiny |
72 | 73 |
73 on benchmark VM: | 74 on benchmark VM: |
74 python Run.py --orthanc-path=/data-hdd-3g/orthanc-binaries/ --plugins-path=/data-hdd-3g/orthanc-binaries/ --clear --pg9bis-tiny | 75 python Run.py --orthanc-path=/data-hdd-3g/orthanc-binaries/ --plugins-path=/data-hdd-3g/orthanc-binaries/ --clear --pg9bis-small |
75 ``` | 76 ``` |
76 | 77 |
77 Runing tests on multiple DBs | 78 Runing tests on multiple DBs |
78 ----------------- | 79 ----------------- |
79 | 80 |