wikibase-profile

The general idea of this repo is to allow some basic profiling of different settings using docker and possible Github actions?

Steps:

  • Startup docker-compose with wikibase and mysql
  • Wait for it to be running
  • Run install & update
  • Start a timer
  • Do some amount of known work
  • Stop timer
  • Output result...
  • Send result to Google Sheet via IFTTT

Local profiling

You can also try running them locally... For example...

PROFILE_IMAGE=wikibase/wikibase:1.39.1-wmde.11 PROFILE_SETTINGS=default PROFILE_SQL=mariadb:10.9 docker-compose up -d mysql wikibase1
./docker-compose-wait1.sh
PROFILE_IMAGE=wikibase/wikibase:1.39.1-wmde.11 PROFILE_SETTINGS=default PROFILE_SQL=mariadb:10.9 docker-compose up -d wikibase2
./docker-compose-wait2.sh
PROFILE_IMAGE=wikibase/wikibase:1.39.1-wmde.11 PROFILE_SETTINGS=default PROFILE_SQL=mariadb:10.9 docker-compose up -d --force-recreate wikibase1
./docker-compose-wait1.sh
sleep 5
ASYNC=30 INSTANCES=2 ./loads/wbeditentity-2000EmptyItems.sh