Demin Yin

Demin Yin

Demin is a staff engineer at Electronic Arts (EA), working with cloud-native PHP, NoSQL, and infrastructure as code, with AI part of the stack. He builds backend microservices and libraries for mobile games. His career spans startups to some of the Bay Area's largest corporations, including eBay, Visa, and EA. He maintains 10+ open-source projects and contributes to PECL. He's also part of the Swoole team and speaks about PHP at conferences.

Sessions Montréal 2027

Concurrent PHPUnit: 9 Minutes to 19 Seconds

Session en Anglais - Intermédiaire

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.

PHP, Compiled: What TypePHP Makes Possible

Session en Anglais - Intermédiaire

Every generation of PHP gets a compiler. HipHop gave Facebook 6x throughput, then died within three years. Hack forked the syntax onto its own runtime, and adoption never came. In August 2026, Swoole shipped TypePHP, an AOT compiler that lowers PHP to C++17 and compiles itself, with opt-in types still valid PHP. This is an early adopter's evaluation: every claim checked against what killed earlier attempts, with real output and benchmarks.

Sessions Montréal 2019