Laravel 12 Benchmark

Comparing PHP-FPM, Swoole, and FrankenPHP

Generated on 2026-11-07 10:41:18

fpm

fpm_2026-11-07T10-26-45-187Z.json

Max Throughput

251.20 req/s

Avg Latency

7,537.04 ms

Success Rate

99.72%

swoole

swoole_2026-11-07T10-39-44-260Z.json

Max Throughput

625.84 req/s

Avg Latency

2,747.87 ms

Success Rate

100.00%

franken

Speed King franken_2026-11-07T10-34-39-318Z.json

Max Throughput

770.66 req/s

Avg Latency

2,126.44 ms

Success Rate

100.00%

Throughput (Requests/s)

P95 Latency (ms)

Latency Comparison (Avg ms)

Detailed response times across different workload scenarios.

Workload fpm swoole franken

Health Check

Static JSON, no DB

4,520.84 ms 2,455.73 ms 2,131.39 ms

List Posts

DB query (Limit 20)

6,444.68 ms 5,036.22 ms 1,947.79 ms

Single Post

DB Find by ID

12,740.57 ms 1,950.41 ms 1,805.41 ms

Create Post

DB Insert + Validation

11,721.75 ms 1,938.20 ms 1,286.23 ms

Heavy Compute

Fibonacci 30 + JSON loops

32,940.32 ms 29,799.67 ms 30,064.50 ms
Detailed reports available in ./results/ directory.