Derby benchmark is a simple tool to benchmark connections and queries to the Derby database.
To run the app as-is, just run the following to get a full list of available options.
docker run --rm --network host rokcarl/derby-benchmark /app/run.py -h
If you need additional functionality, do the following:
- Change the Python code as needed.
make build
.make run
or just run the above command.
For running this against two Derby databases to compare the results, run:
docker run --rm --network host rokcarl/derby-benchmark /app/run.py database_name "select * from customers" db1:9000 db2:9000