Sunday, May 15, 2011

firebird benchmark test suite from svn trunk

svn co https://firebird.svn.sourceforge.net/svnroot/firebird/qa/trunk/benchmark firebird_benchmark

create empty db with flamerobin
in
/tmp/firebird_benchmark.fdb

or use this python script
cat create_test.py 
import kinterbasdb

con = kinterbasdb.create_database(
    "create database '/tmp/firebird_benchmark.fdb' user 'sysdba' password 'masterkey'"
  )
The run the test suite

cd firebird_benchmark
python iibench.py --db_password=masterke --max_rows=500000 \
--rows_per_report=10000 \
--setup --max_table_rows=20000 --with_max_table_rows --db_name=/tmp/firebird_benchmark.fdb

No comments: