File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,11 +32,25 @@ make benchmark-stats # With P50/P95/P99 percentiles
3232
3333** Memory:** ~ 4.9MB (stable, no leaks)
3434
35+ ### FrankenPHP Worker Mode
36+
37+ Tested for long-running process stability:
38+
39+ | Metric | Result |
40+ | --------| --------|
41+ | Requests | 3M+ |
42+ | Memory | 2MB stable (Δ0 after warmup) |
43+ | Throughput | ~ 3400 req/s (4 workers) |
44+ | Errors | 0 |
45+
46+ ✅ ** Production-ready** for worker mode - no memory leaks detected.
47+
3548** Key Insights:**
3649- ✅ ** 99% of validations complete in <17μs** (sub-millisecond)
3750- ✅ ** Very low variance** - P99 tightly clustered around the mean
3851- ✅ ** Fail-fast mode 2.3x faster** when you need speed
3952- ✅ ** Conditional skip is fast** - unused validations add minimal overhead
4053- ✅ ** Static translator cache** eliminates file I/O overhead
54+ - ✅ ** Worker-mode stable** - no memory growth over millions of requests
4155
42- * Benchmarks: [ PHPBench 1.4.3] ( https://github.com/phpbench/phpbench ) • PHP 8.5.1 • OPcache enabled*
56+ * Benchmarks: [ PHPBench 1.4.3] ( https://github.com/phpbench/phpbench ) • PHP 8.5.1 • OPcache enabled*
You can’t perform that action at this time.
0 commit comments