This document defines a procedure for testing the performance of BASE. The intention is that BASE should be compared to the earlier BASE version 1 with respect to performance. The tests on a BASE version 1 server must be done by hand. For later BASE versions, there is a test program. The current test program is a prototype which includes the following tests:
The data files needed by the tests are NOT included in the subversion repository.
The main reason is that they are too large, and that we don't have permission to
make them publicly available for download. To get the test file you need to be a
core developer. Read the instructions on the
DeveloperInformation
page, Test data
section on the Base 2 web site.
To run the test do the following:
ant test
.build/test/
directory../test.sh performace <options> <cmds>
where <options>
is may be one or more of the
following:
-n
: Number of raw data sets to import or use in the root bioassayset.
The default value is 4.
-u
: Username to run the test as. The default value is "root".
-p
: Password for the user. The default value is "root".
<cmds>
is one or more of the following:
all
: run all tests (except clean)raw
: import raw dataroot
: create a root bioassaysetfilter
: create a filtered bioassaysetlowess
: create a lowess normalized bioassaysetclean
: delete all test data, except reportersThe test doesn't program doesn't require an empty database. Running the test program multiple times will simply add more data to the experiment.
Parameters to plug-ins are read from the performance.properties configuration file. It should be located in either /config/test or /config/local directory. If you want to change the parameters put the changed file in /config/local. Don't put this file into the subversion repository.