Raw SDK port lookups instead of compose cut full test suite time by 21%

DanielLockyer · x · 2026-11-05

Developer chronark shared a test-speedup trick: instead of relying on docker compose, use raw SDK calls to fetch ports of already-running containers, falling back to compose only when needed.

Benchmark screenshot shows:

Cold container startup is essentially unchanged (+0.1%). A practical optimization any team running containerized test suites can try today.

Original post →

More from coding & agent

coding & agent channel →