; --------------------------------------------------------------------------- ; helix-bridge — OPcache / JIT tuning for PHP 8.5 ; See docs/06-phase-1-infrastructure.md and docs/11-performance-and-cost.md (PERF-04). ; --------------------------------------------------------------------------- opcache.enable = 1 opcache.enable_cli = 0 ; Memory for compiled bytecode. 128M is generous for this small codebase + SDKs. opcache.memory_consumption = 128 opcache.interned_strings_buffer = 16 opcache.max_accelerated_files = 10000 ; Images are immutable and rebuilt on deploy, so we do NOT need to stat() files ; on every request to detect changes. This is the single biggest OPcache win in ; a containerized deploy. IMPORTANT: on local/dev images set this to 1 (or mount ; a dev-only override) so code edits are picked up without a rebuild. opcache.validate_timestamps = 0 ; Tracing JIT gives the best throughput for typical request/response workloads. opcache.jit = tracing opcache.jit_buffer_size = 64M