This reposiorty is created to test database performase with Docker for Mac.
Docker for Mac installed and running
For convenienve I've made two shell-scripts to make it easier to test. First you have to start and wait for the PostgreSQL to initialize and be ready for connections.
Start the server by running ./start-server.sh
.
You can run a single import by using the script ./test-import.sh
.
I recommend running the import multiple times to benchmark the numbers.
This can be achieved by using a tool such as hyperfine
.
I've used the following command in my testing: hyperfine './test-import.sh' --show-output --ignore-failure
The supplied datadump was retrieved from a GitHub open-source project.