Laravel 12 Benchmark

Comparing PHP-FPM, Swoole, and FrankenPHP

Generated on 2026-02-13 02:07:37

fpm

fpm_2026-02-13T01-59-56-967Z.json

Max Throughput

1,317.39 req/s

Avg Latency

1,345.72 ms

Success Rate

75.28%

swoole

swoole_2026-02-13T02-03-45-687Z.json

Max Throughput

2,670.27 req/s

Avg Latency

561.16 ms

Success Rate

100.00%

franken

Speed King franken_2026-02-13T02-07-36-960Z.json

Max Throughput

3,364.90 req/s

Avg Latency

412.17 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

916.22 ms 639.32 ms 400.21 ms

List Posts

DB query (Limit 20)

458.71 ms 63.84 ms 347.85 ms

Single Post

DB Find by ID

2,852.10 ms 527.41 ms 336.83 ms

Create Post

DB Insert + Validation

1,555.65 ms 544.96 ms 88.56 ms

Heavy Compute

Fibonacci 30 + JSON loops

12,069.40 ms 11,682.81 ms 14,806.14 ms
Detailed reports available in ./results/ directory.