How To: speed up by using arm docker images

by removing platform: linux/x86_64 for postgres and rabbitmq containers

chatgpt said

Postgres under QEMU:

Query parsing      → instruction translation
Query execution    → instruction + memory penalties
Disk I/O           → syscall translation
Locks/shared mem   → memory ordering penalties

but in fact Rosetta is used for x86_64/amd64 emulation on Apple Silicon, though I guess the principle should be the same?

Timing comparison by 2 runs locally

timing before after
db setup 110s 110s
unittests 115s 95s

about 300 unittests run parallel with 10 cores using macbook pro 2021 with chip apple m1 pro