February 24-26, 2027
Montreal, Canada

Concurrent PHPUnit: 9 Minutes to 19 Seconds

Time- and IO-bound tests are a common reason PHPUnit suites get slow: every test that sleeps, waits on a database, or calls an external service runs sequentially. This talk introduces Counit, an open-source library that runs those tests concurrently in one PHP process using Swoole coroutines. We'll show a suite drop from over 9 minutes to 19 seconds, and cover the tradeoffs: benefits, risks, and how to adopt it incrementally.

View all 186 sessions

Demin Yin

Electronic Arts

Demin Yin spent ten years building and scaling AWS backends for mobile games at Glu Mobile and Electronic Arts (EA), including Design Home at 1M+ daily active users. He is an AWS Certified Solutions Architect – Professional, a Swoole team member, maintains 10+ open-source projects, and speaks about PHP and Swoole at conferences.

Read More