# HG changeset patch # User Sebastien Jodogne # Date 1546851139 -3600 # Node ID 29cb1ee970355735e52bf263ee76f0fdd0ee4701 # Parent af8e034f4262e266b6ea417c16b2cc05414016c8 cont diff -r af8e034f4262 -r 29cb1ee97035 PerfsDb/README.md --- a/PerfsDb/README.md Mon Dec 24 13:42:45 2018 +0100 +++ b/PerfsDb/README.md Mon Jan 07 09:52:19 2019 +0100 @@ -56,14 +56,22 @@ ----------------- ```bash +on amazy PC: python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/mysql-release/ --init --mysql-tiny + +on benchmark VM: +python Run.py --orthanc-path=/data-hdd-3g/orthanc-binaries/ --plugins-path=/data-hdd-3g/orthanc-binaries/ --init --pg9-tiny ``` Clearing a DB ----------------- ```bash +on amazy PC: python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/mysql-release/ --clear --mysql-tiny + +on benchmark VM: +python Run.py --orthanc-path=/data-hdd-3g/orthanc-binaries/ --plugins-path=/data-hdd-3g/orthanc-binaries/ --clear --pg9-tiny ``` Runing tests on multiple DBs @@ -74,7 +82,7 @@ python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/orthanc-build-release/ --run --pg9-tiny --pg10-tiny --pg11-tiny --mysql-tiny --sqlite-tiny --mssql-tiny on benchmark VM: -python Run.py --orthanc-path=/data/orthanc-binaries/ --plugins-path=/data/orthanc-binaries/ --run --pg9-tiny --pg10-tiny --pg11-tiny --mysql-tiny --sqlite-tiny --mssql-tiny +python Run.py --orthanc-path=/data-hdd-3g/orthanc-binaries/ --plugins-path=/data-hdd-3g/orthanc-binaries/ --run --pg9-tiny --pg10-tiny --pg11-tiny --mysql-tiny --sqlite-tiny --mssql-tiny ``` @@ -93,4 +101,4 @@ --test-filter=*ByPatient* to filter the tests to execute --repeat=20 to repeate each test N times (default is 20) -``` \ No newline at end of file +``` diff -r af8e034f4262 -r 29cb1ee97035 PerfsDb/Run.py --- a/PerfsDb/Run.py Mon Dec 24 13:42:45 2018 +0100 +++ b/PerfsDb/Run.py Mon Jan 07 09:52:19 2019 +0100 @@ -15,6 +15,7 @@ allTestConfigs = [ TestConfig(label= "mysql-small", dbSize=DbSize.Small, dbServer=DbServer(dbType=DbType.MySQL, port=2000)), TestConfig(label= "pg9-small", dbSize=DbSize.Small, dbServer=DbServer(dbType=DbType.PG9, port=2001)), + TestConfig(label= "pg9bis-small", dbSize=DbSize.Small, dbServer=DbServer(dbType=DbType.PG9, port=2011)), TestConfig(label= "pg10-small", dbSize=DbSize.Small, dbServer=DbServer(dbType=DbType.PG10, port=2002)), TestConfig(label= "pg11-small", dbSize=DbSize.Small, dbServer=DbServer(dbType=DbType.PG11, port=2003)), TestConfig(label= "mssql-small", dbSize=DbSize.Small, dbServer=DbServer(dbType=DbType.MSSQL, port=2004)), @@ -23,6 +24,7 @@ TestConfig(label= "mysql-tiny", dbSize=DbSize.Tiny, dbServer=DbServer(dbType=DbType.MySQL, port=3000)), TestConfig(label= "pg9-tiny", dbSize=DbSize.Tiny, dbServer=DbServer(dbType=DbType.PG9, port=3001)), + TestConfig(label= "pg9bis-tiny", dbSize=DbSize.Tiny, dbServer=DbServer(dbType=DbType.PG9, port=3011)), TestConfig(label= "pg10-tiny", dbSize=DbSize.Tiny, dbServer=DbServer(dbType=DbType.PG10, port=3002)), TestConfig(label= "pg11-tiny", dbSize=DbSize.Tiny, dbServer=DbServer(dbType=DbType.PG11, port=3003)), TestConfig(label= "mssql-tiny", dbSize=DbSize.Tiny, dbServer=DbServer(dbType=DbType.MSSQL, port=3004)),