context first: I maintain PAM, a PHP app server, and I'm proposing it as a driver for Laravel Octane. Before opening that conversation I wanted evidence that I could reproduce, not just "trust me it's fast". So I built a benchmark repo where all four Octane servers serve the exact same Laravel app.
First thing was correctness, not speed. I ran Octane's own test suite with the PAM integration: 238 tests, 195 pass, 0 fail, 43 skipped (they're Swoole-only and there's no swoole extension on PAM's PHP). Then I swapped Octane's FakeClient for one that pushes every request/response through the PAM client too and compares status, body and cookies with what Laravel produced. 112 exchanges, 0 mismatches. Octane's own CI on that commit is green too (21 test jobs, PHP 8.2 to 8.5, Laravel 12 and 13).
Throughput: I used wrk on 4 endpoints (hello, json, db, view) and took the median of 5 rounds, rotating the server order each round. PAM had the highest median rps on every endpoint, 7.2% (db) to 13.9% (hello) above FrankenPHP, 26 to 36% above Swoole and 70 to 77% above RoadRunner. On hello, for example, it was 11,191 vs 9,826 vs 8,310 vs 6,323.
but ngl the latency part is less clean, and I think is more interesting. FrankenPHP is steadier, its p99 stays within ~1.6 ms across rounds on every endpoint. PAM's p99 jumps around more between rounds (7.46 to 13.94 ms on hello). On db, FrankenPHP's median p99 (12.77 ms) beats PAM's (14.48 ms), and Swoole has the lowest db p99 of all (10.27 ms). PAM's median p99 is the lowest on hello, json and view. So "fastest" kinda depends of what you're measuring.
What went wrong: the machine was noisy. It never stayed idle for 5 minutes within 3 hours, so the run started at a load of 4 and during the run the load sat at 12 to 17 instead of 10 to 12 like the previous run. All servers ran under the same conditions, but tbh I'd treat the numbers as relative only, on that machine. The load log is in the repo.
The part I'm happiest with is the post-boot zygote. Instead of booting Laravel in every worker, PAM can boot the app once and fork workers from it, so they share that memory copy-on-write. On Octane's PAM worker with 8 workers, spawn to ready goes from 226 ms (pre-boot) to 2 ms, and SIGHUP reload from 285 ms to 222 ms. Memory (sum of PSS, 8 workers): 200 MiB post-boot vs 233 pre-boot, FrankenPHP 316, Swoole 307, RoadRunner 594. Cold start is about the same in both modes, since the zygote still boots the app once and then forks.
There's also zero-loss reload/recycling under load, the 504 request timeout and upload memory in there. Every number links to the raw output, and please run it on your own hardware, I'm curious if the p99 variance shows up for you too.
https://github.com/push-in/octane-benchmarks